Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001968/0.001968, allocations: 113.5 kB / 17.13 MB, free: 5.891 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.002455/0.002455, allocations: 212.3 kB / 20.09 MB, free: 2.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.878/1.878, allocations: 207.6 MB / 230.5 MB, free: 4.023 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.459/0.459, allocations: 44.23 MB / 326.6 MB, free: 6.812 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002241/0.002241, allocations: 63.91 kB / 462.2 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3985, allocations: 61 MB / 0.5109 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.007826/0.4063, allocations: 7.773 MB / 0.5185 GB, free: 7.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005036/0.4113, allocations: 2.369 MB / 0.5208 GB, free: 4.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002153/0.4135, allocations: 27.94 kB / 0.5209 GB, free: 4.773 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004443/0.4179, allocations: 1.831 MB / 0.5227 GB, free: 2.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003677/0.4216, allocations: 0.7263 MB / 0.5234 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00282/0.4244, allocations: 1.087 MB / 0.5244 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00317/0.4276, allocations: 1.44 MB / 0.5258 GB, free: 15.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00177/0.4294, allocations: 0.7733 MB / 0.5266 GB, free: 14.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.4305, allocations: 0.6345 MB / 0.5272 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009523/0.4314, allocations: 0.7392 MB / 0.5279 GB, free: 13.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00018/0.4316, allocations: 116 kB / 0.528 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009755/0.4326, allocations: 327.8 kB / 0.5284 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002918/0.4329, allocations: 310.8 kB / 0.5287 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008019/0.4337, allocations: 0.6686 MB / 0.5293 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003343/0.437, allocations: 1.77 MB / 0.531 GB, free: 10.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.437, allocations: 0 / 0.531 GB, free: 10.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.811e-06/0.437, allocations: 0 / 0.531 GB, free: 10.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.848e-05/0.4371, allocations: 4 kB / 0.531 GB, free: 10.3 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.00952/0.4466, allocations: 2.437 MB / 0.5334 GB, free: 7.812 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.4467, allocations: 15.89 kB / 0.5334 GB, free: 7.797 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002911/0.4469, allocations: 199 kB / 0.5336 GB, free: 7.594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/0.4578, allocations: 1.502 MB / 0.5351 GB, free: 6.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/0.4596, allocations: 0.6288 MB / 0.5357 GB, free: 5.418 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.4597, allocations: 103.1 kB / 0.5358 GB, free: 5.316 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002675/0.46, allocations: 144.1 kB / 0.5359 GB, free: 5.176 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00306/0.4631, allocations: 1.523 MB / 0.5374 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-05/0.4631, allocations: 3.953 kB / 0.5374 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001516/0.4633, allocations: 56 kB / 0.5375 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.442e-05/0.4633, allocations: 40 kB / 0.5375 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003042/0.4664, allocations: 1.576 MB / 0.5391 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009587/0.4759, allocations: 5.524 MB / 0.5445 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003159/0.4791, allocations: 2.237 MB / 0.5466 GB, free: 9.605 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001166/0.4803, allocations: 0.5474 MB / 0.5472 GB, free: 9.051 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002022/0.4805, allocations: 106.1 kB / 0.5473 GB, free: 8.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.422e-05/0.4805, allocations: 47.56 kB / 0.5473 GB, free: 8.875 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.647e-06/0.4805, allocations: 0 / 0.5473 GB, free: 8.875 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.009767/0.4903, allocations: 3.152 MB / 0.5504 GB, free: 5.695 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.423e-05/0.4904, allocations: 90.11 kB / 0.5505 GB, free: 5.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006555/0.491, allocations: 474 kB / 0.5509 GB, free: 5.113 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.41e-05/0.4911, allocations: 49.7 kB / 0.551 GB, free: 5.059 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004018/0.4915, allocations: 0.4969 MB / 0.5515 GB, free: 4.555 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004375/0.4919, allocations: 452.1 kB / 0.5519 GB, free: 4.109 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004047/0.4923, allocations: 226.8 kB / 0.5521 GB, free: 3.883 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002166/0.4926, allocations: 382.8 kB / 0.5525 GB, free: 3.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009233/0.4935, allocations: 467.1 kB / 0.5529 GB, free: 3.047 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.4947, allocations: 0.7478 MB / 0.5537 GB, free: 2.188 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002081/0.4967, allocations: 1.259 MB / 0.5549 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/0.4967, allocations: 4 kB / 0.5549 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003313/0.5001, allocations: 1.646 MB / 0.5565 GB, free: 15.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.5001, allocations: 11.94 kB / 0.5565 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.5001, allocations: 8 kB / 0.5565 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00166/0.5018, allocations: 0.5321 MB / 0.557 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008587/0.5026, allocations: 211.6 kB / 0.5572 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002141/0.5028, allocations: 53.2 kB / 0.5573 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007736/0.5036, allocations: 143 kB / 0.5574 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.414e-05/0.5037, allocations: 51.98 kB / 0.5575 GB, free: 14.15 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (120): * Single equations (assignments): 119 * 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.0005833/0.5043, allocations: 273.5 kB / 0.5577 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/0.5045, allocations: 91.38 kB / 0.5578 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003051/0.5075, allocations: 1.56 MB / 0.5594 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-05/0.5076, allocations: 12 kB / 0.5594 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.5076, allocations: 0 / 0.5594 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/0.5076, allocations: 7.984 kB / 0.5594 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00497/0.5126, allocations: 2.859 MB / 0.5622 GB, free: 9.258 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.5126, allocations: 0 / 0.5622 GB, free: 9.258 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006532/0.5132, allocations: 155.7 kB / 0.5623 GB, free: 9.105 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001622/0.5148, allocations: 0.5223 MB / 0.5628 GB, free: 8.582 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/0.5149, allocations: 24 kB / 0.5628 GB, free: 8.559 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001021/0.5151, allocations: 20.84 kB / 0.5629 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.5151, allocations: 8 kB / 0.5629 GB, free: 8.527 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00453/0.5196, allocations: 2.279 MB / 0.5651 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007203/0.5203, allocations: 296.2 kB / 0.5654 GB, free: 5.918 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.5204, allocations: 20 kB / 0.5654 GB, free: 5.898 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006103/0.521, allocations: 47.98 kB / 0.5654 GB, free: 5.852 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002282/0.5213, allocations: 77.2 kB / 0.5655 GB, free: 5.773 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.046e-05/0.5214, allocations: 35.98 kB / 0.5656 GB, free: 5.738 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004661/0.5218, allocations: 314.9 kB / 0.5659 GB, free: 5.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5218, allocations: 0 / 0.5659 GB, free: 5.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001072/0.5229, allocations: 351.3 kB / 0.5662 GB, free: 5.086 MB / 430.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 (86): * Single equations (assignments): 85 * 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.004602/0.5275, allocations: 2.881 MB / 0.569 GB, free: 2.176 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00324/0.5307, allocations: 1.302 MB / 0.5703 GB, free: 0.875 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.5307, allocations: 0 / 0.5703 GB, free: 0.875 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001769/0.5325, allocations: 0.6802 MB / 0.5709 GB, free: 204 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00082/0.5333, allocations: 102.2 kB / 0.571 GB, free: 100 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01546/0.5488, allocations: 8.623 MB / 0.5795 GB, free: 7.141 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/0.5498, allocations: 1.048 MB / 0.5805 GB, free: 6.066 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005581/0.5504, allocations: 119 kB / 0.5806 GB, free: 5.945 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005857/0.551, allocations: 399.3 kB / 0.581 GB, free: 5.555 MB / 446.1 MB Notification: Performance of SimCode: time 2.094e-06/0.551, allocations: 0 / 0.581 GB, free: 5.555 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06615/0.6171, allocations: 22.26 MB / 0.6027 GB, free: 15.25 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.67, allocations: 11.89 kB / 0.6027 GB, free: 15.24 MB / 478.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv. Warning: Get data of variable I.re from file ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv failed! Error: Could not read variable I.im in file ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv. Warning: Get data of variable I.im from file ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.465292049004347]