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.001308/0.001308, allocations: 114.2 kB / 19.69 MB, free: 2.188 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.001452/0.001452, allocations: 213.6 kB / 23 MB, free: 5.008 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.465/1.465, allocations: 207.6 MB / 233.8 MB, free: 10.01 MB / 190.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.2119/0.2119, allocations: 44.25 MB / 330.3 MB, free: 9.52 MB / 270.1 MB " [Timeout remaining time 180] 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.002238/0.002238, allocations: 75.83 kB / 467.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1157, allocations: 61.04 MB / 0.5161 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009431/0.1252, allocations: 7.79 MB / 0.5238 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004603/0.1298, allocations: 2.38 MB / 0.5261 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006404/0.1304, allocations: 35.88 kB / 0.5261 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004163/0.1346, allocations: 1.828 MB / 0.5279 GB, free: 11.26 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002039/0.1366, allocations: 0.7379 MB / 0.5286 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002469/0.1391, allocations: 1.079 MB / 0.5297 GB, free: 9.438 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002015/0.1411, allocations: 1.44 MB / 0.5311 GB, free: 7.988 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/0.1425, allocations: 0.9418 MB / 0.532 GB, free: 7.023 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008012/0.1433, allocations: 0.6267 MB / 0.5326 GB, free: 6.395 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008981/0.1442, allocations: 0.7431 MB / 0.5333 GB, free: 5.648 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001719/0.1444, allocations: 112 kB / 0.5334 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007447/0.1451, allocations: 331.8 kB / 0.5338 GB, free: 5.215 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002566/0.1454, allocations: 310.9 kB / 0.5341 GB, free: 4.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006261/0.146, allocations: 0.6685 MB / 0.5347 GB, free: 4.238 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002114/0.1481, allocations: 1.79 MB / 0.5365 GB, free: 2.441 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1481, allocations: 0 / 0.5365 GB, free: 2.441 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1481, allocations: 0 / 0.5365 GB, free: 2.441 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.86e-05/0.1481, allocations: 0 / 0.5365 GB, free: 2.441 MB / 414.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.007938/0.1561, allocations: 2.354 MB / 0.5388 GB, free: 52 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.1561, allocations: 8.031 kB / 0.5388 GB, free: 44 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2135/0.3696, allocations: 200.2 kB / 0.539 GB, free: 27.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01088/0.3805, allocations: 1.501 MB / 0.5404 GB, free: 27.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.382, allocations: 0.5645 MB / 0.541 GB, free: 27.47 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-05/0.382, allocations: 101.8 kB / 0.5411 GB, free: 27.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002229/0.3823, allocations: 133.6 kB / 0.5412 GB, free: 27.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002541/0.3848, allocations: 1.53 MB / 0.5427 GB, free: 27.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.108e-05/0.3848, allocations: 11.3 kB / 0.5427 GB, free: 27.19 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.385, allocations: 56.38 kB / 0.5428 GB, free: 27.15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.972e-05/0.385, allocations: 33.61 kB / 0.5428 GB, free: 27.15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002617/0.3876, allocations: 1.584 MB / 0.5443 GB, free: 26.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00749/0.3951, allocations: 5.106 MB / 0.5493 GB, free: 23.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002192/0.3973, allocations: 1.1 MB / 0.5504 GB, free: 23.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/0.3984, allocations: 0.5582 MB / 0.5509 GB, free: 22.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001336/0.3985, allocations: 26.67 kB / 0.551 GB, free: 22.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/0.3986, allocations: 50.19 kB / 0.551 GB, free: 22.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 4.829e-06/0.3986, allocations: 0 / 0.551 GB, free: 22.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.009273/0.4078, allocations: 3.065 MB / 0.554 GB, free: 21.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.4079, allocations: 92.33 kB / 0.5541 GB, free: 21.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005589/0.4084, allocations: 480.5 kB / 0.5546 GB, free: 21.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.652e-05/0.4085, allocations: 51.2 kB / 0.5546 GB, free: 21.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.4088, allocations: 0.4894 MB / 0.5551 GB, free: 21.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002522/0.409, allocations: 456.6 kB / 0.5555 GB, free: 20.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003254/0.4094, allocations: 228.8 kB / 0.5557 GB, free: 20.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.4095, allocations: 384.5 kB / 0.5561 GB, free: 20.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008014/0.4103, allocations: 465.9 kB / 0.5565 GB, free: 20.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009362/0.4112, allocations: 0.7447 MB / 0.5573 GB, free: 19.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00177/0.413, allocations: 1.265 MB / 0.5585 GB, free: 18.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.413, allocations: 3.094 kB / 0.5585 GB, free: 18.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003433/0.4164, allocations: 1.647 MB / 0.5601 GB, free: 18.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.4165, allocations: 9.469 kB / 0.5601 GB, free: 18.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.832e-05/0.4165, allocations: 8.906 kB / 0.5601 GB, free: 18.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001686/0.4182, allocations: 0.5264 MB / 0.5606 GB, free: 18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009586/0.4191, allocations: 217.6 kB / 0.5609 GB, free: 17.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002395/0.4194, allocations: 52.84 kB / 0.5609 GB, free: 17.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007499/0.4201, allocations: 141.7 kB / 0.561 GB, free: 17.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.4202, allocations: 50.55 kB / 0.5611 GB, free: 17.86 MB / 414.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.0005327/0.4208, allocations: 274.2 kB / 0.5614 GB, free: 17.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.421, allocations: 89.89 kB / 0.5614 GB, free: 17.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00268/0.4236, allocations: 1.561 MB / 0.563 GB, free: 16.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.4237, allocations: 13.81 kB / 0.563 GB, free: 16.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.4237, allocations: 0.5625 kB / 0.563 GB, free: 16.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/0.4237, allocations: 6.141 kB / 0.563 GB, free: 16.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004608/0.4283, allocations: 2.839 MB / 0.5658 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.4283, allocations: 1.219 kB / 0.5658 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00065/0.4289, allocations: 146.9 kB / 0.5659 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001343/0.4303, allocations: 0.5273 MB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.225e-05/0.4304, allocations: 29.09 kB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.87e-05/0.4304, allocations: 24.64 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4304, allocations: 1.5 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003405/0.4339, allocations: 2.288 MB / 0.5687 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004257/0.4343, allocations: 217.9 kB / 0.5689 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.4344, allocations: 21.41 kB / 0.5689 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005727/0.435, allocations: 46.8 kB / 0.569 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.4351, allocations: 82.73 kB / 0.569 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.53e-05/0.4352, allocations: 31.81 kB / 0.5691 GB, free: 13.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003368/0.4356, allocations: 325.9 kB / 0.5694 GB, free: 13.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4356, allocations: 0 / 0.5694 GB, free: 13.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001028/0.4366, allocations: 346 kB / 0.5697 GB, free: 13.63 MB / 414.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.00366/0.4402, allocations: 2.888 MB / 0.5725 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002907/0.4431, allocations: 1.304 MB / 0.5738 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.4432, allocations: 1.219 kB / 0.5738 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001572/0.4447, allocations: 0.6819 MB / 0.5745 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007661/0.4455, allocations: 96.11 kB / 0.5746 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.4566, allocations: 8.634 MB / 0.583 GB, free: 4.754 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.457, allocations: 1.044 MB / 0.584 GB, free: 3.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004304/0.4575, allocations: 121.1 kB / 0.5841 GB, free: 3.559 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003849/0.4579, allocations: 395.3 kB / 0.5845 GB, free: 3.172 MB / 414.1 MB Notification: Performance of SimCode: time 1.773e-06/0.4579, allocations: 4 kB / 0.5845 GB, free: 3.168 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06201/0.5199, allocations: 23.47 MB / 0.6074 GB, free: 11.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/14.42, allocations: 5.062 kB / 0.6074 GB, free: 11.7 MB / 446.1 MB " [Timeout remaining time 645] (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.46855417399638]