Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.513/1.513, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2337/0.2337, allocations: 46.93 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 63.89 kB / 0.4909 GB, free: 7.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.134, allocations: 65.99 MB / 0.5554 GB, free: 5.875 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009634/0.1437, allocations: 7.778 MB / 0.563 GB, free: 14.05 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005714/0.1494, allocations: 2.447 MB / 0.5654 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008894/0.1503, allocations: 31.94 kB / 0.5654 GB, free: 11.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004391/0.1546, allocations: 1.831 MB / 0.5672 GB, free: 9.734 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002316/0.157, allocations: 0.7025 MB / 0.5679 GB, free: 9.031 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002453/0.1594, allocations: 1.086 MB / 0.5689 GB, free: 7.953 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001947/0.1614, allocations: 1.405 MB / 0.5703 GB, free: 6.539 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/0.1626, allocations: 0.7742 MB / 0.571 GB, free: 5.738 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000849/0.1635, allocations: 0.6228 MB / 0.5717 GB, free: 5.113 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008797/0.1644, allocations: 0.7315 MB / 0.5724 GB, free: 4.379 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001636/0.1645, allocations: 112 kB / 0.5725 GB, free: 4.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007836/0.1653, allocations: 331.8 kB / 0.5728 GB, free: 3.945 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000271/0.1656, allocations: 302.9 kB / 0.5731 GB, free: 3.648 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006418/0.1662, allocations: 0.6569 MB / 0.5737 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002334/0.1686, allocations: 1.767 MB / 0.5754 GB, free: 1.215 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1686, allocations: 3.938 kB / 0.5755 GB, free: 1.211 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1686, allocations: 0 / 0.5755 GB, free: 1.211 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.804e-05/0.1686, allocations: 3.984 kB / 0.5755 GB, free: 1.207 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.007758/0.1763, allocations: 2.41 MB / 0.5778 GB, free: 14.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.1764, allocations: 12.03 kB / 0.5778 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000245/0.1766, allocations: 190.7 kB / 0.578 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01337/0.19, allocations: 1.339 MB / 0.5793 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/0.1919, allocations: 0.6249 MB / 0.5799 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.1921, allocations: 95.02 kB / 0.58 GB, free: 12.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003704/0.1925, allocations: 136.1 kB / 0.5801 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004409/0.1969, allocations: 1.487 MB / 0.5816 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-05/0.1969, allocations: 7.953 kB / 0.5816 GB, free: 10.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002077/0.1971, allocations: 52 kB / 0.5816 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.789e-05/0.1972, allocations: 39.98 kB / 0.5817 GB, free: 10.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004381/0.2016, allocations: 1.513 MB / 0.5832 GB, free: 9.152 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01332/0.2149, allocations: 5.612 MB / 0.5886 GB, free: 3.211 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004623/0.2195, allocations: 2.046 MB / 0.5906 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001837/0.2214, allocations: 0.5538 MB / 0.5912 GB, free: 368 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003776/0.2217, allocations: 195.2 kB / 0.5914 GB, free: 136 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.848e-05/0.2218, allocations: 51.56 kB / 0.5914 GB, free: 76 kB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 6.563e-06/0.2218, allocations: 0 / 0.5914 GB, free: 76 kB / 446.1 MB Notification: Performance of matching and sorting (n=127): time 0.3041/0.526, allocations: 3.072 MB / 0.5944 GB, free: 34.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.526, allocations: 90.33 kB / 0.5945 GB, free: 34.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005863/0.5266, allocations: 466.5 kB / 0.5949 GB, free: 33.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.244e-05/0.5267, allocations: 47.52 kB / 0.595 GB, free: 33.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002693/0.5269, allocations: 474.6 kB / 0.5954 GB, free: 33.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003109/0.5273, allocations: 451.3 kB / 0.5959 GB, free: 33.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003741/0.5276, allocations: 218.5 kB / 0.5961 GB, free: 33.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.5277, allocations: 383.2 kB / 0.5965 GB, free: 33.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009449/0.5287, allocations: 458.1 kB / 0.5969 GB, free: 33.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.5298, allocations: 0.6994 MB / 0.5976 GB, free: 32.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001995/0.5318, allocations: 1.206 MB / 0.5987 GB, free: 32.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.5318, allocations: 2.75 kB / 0.5988 GB, free: 32.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003504/0.5353, allocations: 1.577 MB / 0.6003 GB, free: 31.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.5353, allocations: 8.188 kB / 0.6003 GB, free: 31.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.47e-05/0.5354, allocations: 7.516 kB / 0.6003 GB, free: 31.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001886/0.5372, allocations: 0.5276 MB / 0.6008 GB, free: 31.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000967/0.5382, allocations: 202.6 kB / 0.601 GB, free: 31.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002349/0.5384, allocations: 50.33 kB / 0.6011 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000911/0.5394, allocations: 125.1 kB / 0.6012 GB, free: 31.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/0.5395, allocations: 55.42 kB / 0.6012 GB, free: 31.16 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.000583/0.5401, allocations: 273.3 kB / 0.6015 GB, free: 30.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002605/0.5403, allocations: 82.86 kB / 0.6016 GB, free: 30.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00298/0.5433, allocations: 1.542 MB / 0.6031 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.472e-05/0.5433, allocations: 13.09 kB / 0.6031 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.5434, allocations: 0 / 0.6031 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/0.5434, allocations: 7.797 kB / 0.6031 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004969/0.5483, allocations: 2.853 MB / 0.6059 GB, free: 28.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.5483, allocations: 1.75 kB / 0.6059 GB, free: 28.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006598/0.549, allocations: 145.5 kB / 0.606 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001547/0.5506, allocations: 0.5178 MB / 0.6065 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.18e-05/0.5506, allocations: 27.14 kB / 0.6066 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000327/0.551, allocations: 65.62 kB / 0.6066 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.551, allocations: 0 / 0.6066 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003846/0.5548, allocations: 2.319 MB / 0.6089 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004424/0.5553, allocations: 282.2 kB / 0.6092 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.5554, allocations: 29.89 kB / 0.6092 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000612/0.556, allocations: 44.12 kB / 0.6092 GB, free: 27.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/0.5562, allocations: 86.12 kB / 0.6093 GB, free: 27.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.424e-05/0.5563, allocations: 37.34 kB / 0.6093 GB, free: 27.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003699/0.5566, allocations: 310.5 kB / 0.6096 GB, free: 26.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5566, allocations: 0 / 0.6096 GB, free: 26.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001115/0.5577, allocations: 346.7 kB / 0.61 GB, free: 26.86 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004303/0.5621, allocations: 2.923 MB / 0.6128 GB, free: 25.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003118/0.5652, allocations: 1.279 MB / 0.6141 GB, free: 24.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.5652, allocations: 1.5 kB / 0.6141 GB, free: 24.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0018/0.567, allocations: 0.6773 MB / 0.6147 GB, free: 24.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008497/0.5678, allocations: 108.6 kB / 0.6148 GB, free: 24.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/0.5803, allocations: 8.376 MB / 0.623 GB, free: 19.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005579/0.5809, allocations: 1.054 MB / 0.624 GB, free: 18.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004423/0.5813, allocations: 106.2 kB / 0.6241 GB, free: 18.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004229/0.5817, allocations: 395.1 kB / 0.6245 GB, free: 18.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.673e-06/0.5817, allocations: 0 / 0.6245 GB, free: 18.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0542/0.6359, allocations: 22.1 MB / 0.6461 GB, free: 14.64 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/13.99, allocations: 13.08 kB / 0.6461 GB, free: 14.64 MB / 462.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal_fmu --startTime=0 --stopTime=1 --stepSize=0.00019976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.392691983142868]