Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001344/0.001344, 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.00156/0.00156, allocations: 203.3 kB / 20.74 MB, free: 2.316 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.51/1.51, allocations: 230.6 MB / 254.1 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2212/0.2212, allocations: 44.9 MB / 355.1 MB, free: 12.36 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 71.88 kB / 499.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1308, allocations: 65.41 MB / 0.5517 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009255/0.14, allocations: 7.782 MB / 0.5593 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005082/0.1451, allocations: 2.451 MB / 0.5617 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.1463, allocations: 31.94 kB / 0.5618 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004397/0.1507, allocations: 1.819 MB / 0.5635 GB, free: 14.05 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002462/0.1532, allocations: 0.7183 MB / 0.5642 GB, free: 13.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002486/0.1557, allocations: 1.071 MB / 0.5653 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002003/0.1577, allocations: 1.416 MB / 0.5667 GB, free: 10.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.1589, allocations: 0.7588 MB / 0.5674 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008018/0.1597, allocations: 0.6267 MB / 0.568 GB, free: 9.434 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008087/0.1605, allocations: 0.7315 MB / 0.5687 GB, free: 8.699 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001578/0.1607, allocations: 112 kB / 0.5688 GB, free: 8.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000773/0.1614, allocations: 335.8 kB / 0.5692 GB, free: 8.262 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002398/0.1617, allocations: 302.8 kB / 0.5695 GB, free: 7.965 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005887/0.1623, allocations: 0.653 MB / 0.5701 GB, free: 7.309 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.1644, allocations: 1.77 MB / 0.5718 GB, free: 5.531 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1644, allocations: 0 / 0.5718 GB, free: 5.531 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.536e-06/0.1644, allocations: 4 kB / 0.5718 GB, free: 5.527 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.366e-05/0.1644, allocations: 0 / 0.5718 GB, free: 5.527 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.007977/0.1724, allocations: 2.413 MB / 0.5742 GB, free: 3.059 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.1724, allocations: 12.03 kB / 0.5742 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002467/0.1727, allocations: 194.7 kB / 0.5744 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009995/0.1827, allocations: 1.327 MB / 0.5757 GB, free: 1.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/0.1844, allocations: 0.6288 MB / 0.5763 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.1845, allocations: 103 kB / 0.5764 GB, free: 0.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002487/0.1848, allocations: 132.1 kB / 0.5765 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002988/0.1877, allocations: 1.491 MB / 0.578 GB, free: 15.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.279e-05/0.1878, allocations: 11.95 kB / 0.578 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/0.1879, allocations: 52 kB / 0.578 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.896e-05/0.188, allocations: 36 kB / 0.5781 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002882/0.1908, allocations: 1.517 MB / 0.5795 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008801/0.1996, allocations: 5.612 MB / 0.585 GB, free: 7.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002604/0.2023, allocations: 2.057 MB / 0.587 GB, free: 5.219 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009919/0.2032, allocations: 0.5421 MB / 0.5876 GB, free: 4.668 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002204/0.2035, allocations: 191.2 kB / 0.5877 GB, free: 4.445 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.2035, allocations: 51.56 kB / 0.5878 GB, free: 4.387 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.276e-06/0.2035, allocations: 0 / 0.5878 GB, free: 4.387 MB / 446.1 MB Notification: Performance of matching and sorting (n=127): time 0.00937/0.2129, allocations: 3.083 MB / 0.5908 GB, free: 1.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.2129, allocations: 90.11 kB / 0.5909 GB, free: 1.164 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005852/0.2135, allocations: 461.9 kB / 0.5913 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.175e-05/0.2136, allocations: 45.7 kB / 0.5914 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003334/0.2139, allocations: 480.9 kB / 0.5918 GB, free: 180 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.225/0.4389, allocations: 446.9 kB / 0.5923 GB, free: 37.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00047/0.4394, allocations: 220.6 kB / 0.5925 GB, free: 37.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.4395, allocations: 380.5 kB / 0.5928 GB, free: 37.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009663/0.4405, allocations: 457.5 kB / 0.5933 GB, free: 37.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.4416, allocations: 0.6961 MB / 0.594 GB, free: 37.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001865/0.4435, allocations: 1.203 MB / 0.5951 GB, free: 37.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.4435, allocations: 1.688 kB / 0.5951 GB, free: 37.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003092/0.4466, allocations: 1.579 MB / 0.5967 GB, free: 36.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.4466, allocations: 8.062 kB / 0.5967 GB, free: 36.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.322e-05/0.4466, allocations: 7.375 kB / 0.5967 GB, free: 36.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001736/0.4484, allocations: 0.5289 MB / 0.5972 GB, free: 36.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008119/0.4492, allocations: 198 kB / 0.5974 GB, free: 36.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002016/0.4494, allocations: 51.3 kB / 0.5974 GB, free: 36.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006871/0.4501, allocations: 123.4 kB / 0.5976 GB, free: 36.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.4502, allocations: 52.61 kB / 0.5976 GB, free: 36.17 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.000424/0.4506, allocations: 266.4 kB / 0.5979 GB, free: 35.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/0.4508, allocations: 86.69 kB / 0.5979 GB, free: 35.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002944/0.4537, allocations: 1.549 MB / 0.5995 GB, free: 35.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.208e-05/0.4537, allocations: 15.69 kB / 0.5995 GB, free: 35.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.4537, allocations: 3.109 kB / 0.5995 GB, free: 35.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.788e-05/0.4538, allocations: 8.781 kB / 0.5995 GB, free: 35.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004519/0.4583, allocations: 2.841 MB / 0.6023 GB, free: 33.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.4583, allocations: 1.562 kB / 0.6023 GB, free: 33.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006356/0.4589, allocations: 145.9 kB / 0.6024 GB, free: 33.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001433/0.4604, allocations: 0.5279 MB / 0.6029 GB, free: 33.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-05/0.4604, allocations: 26.45 kB / 0.6029 GB, free: 33.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003514/0.4608, allocations: 65.45 kB / 0.603 GB, free: 33.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4608, allocations: 1.922 kB / 0.603 GB, free: 33.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003908/0.4647, allocations: 2.315 MB / 0.6053 GB, free: 32.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003549/0.465, allocations: 289.8 kB / 0.6055 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.4652, allocations: 22.86 kB / 0.6056 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005929/0.4657, allocations: 53.64 kB / 0.6056 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.4659, allocations: 74.11 kB / 0.6057 GB, free: 32.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.472e-05/0.466, allocations: 38.41 kB / 0.6057 GB, free: 32.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003496/0.4663, allocations: 309.7 kB / 0.606 GB, free: 32.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4663, allocations: 0 / 0.606 GB, free: 32.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009635/0.4673, allocations: 345.6 kB / 0.6063 GB, free: 31.95 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.00392/0.4712, allocations: 2.931 MB / 0.6092 GB, free: 30.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00287/0.4741, allocations: 1.275 MB / 0.6105 GB, free: 29.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4741, allocations: 0 / 0.6105 GB, free: 29.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001686/0.4758, allocations: 0.6825 MB / 0.6111 GB, free: 29.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007773/0.4766, allocations: 105.2 kB / 0.6112 GB, free: 29.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/0.4882, allocations: 8.38 MB / 0.6194 GB, free: 24.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/0.4886, allocations: 1.046 MB / 0.6204 GB, free: 24.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004065/0.489, allocations: 123.2 kB / 0.6205 GB, free: 23.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004067/0.4895, allocations: 394.2 kB / 0.6209 GB, free: 23.69 MB / 446.1 MB Notification: Performance of SimCode: time 1.283e-06/0.4895, allocations: 0 / 0.6209 GB, free: 23.69 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04836/0.5378, allocations: 22.1 MB / 0.6425 GB, free: 5.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/13.69, allocations: 10.27 kB / 0.6425 GB, free: 5.422 MB / 446.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019976 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable I.re in file ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv. Warning: Get data of variable I.re from file ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv failed! Error: Could not read variable I.im in file ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv. Warning: Get data of variable I.im from file ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.854923584032804]