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.001305/0.001305, allocations: 114.5 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.002027/0.002027, allocations: 216 kB / 23 MB, free: 5.004 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.534/1.534, allocations: 207.6 MB / 233.8 MB, free: 10 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.2228/0.2228, allocations: 44.24 MB / 330.3 MB, free: 9.531 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.002185/0.002185, allocations: 79.83 kB / 467.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1377, allocations: 61.03 MB / 0.5161 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01061/0.1483, allocations: 7.79 MB / 0.5238 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005798/0.1541, allocations: 2.38 MB / 0.5261 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001427/0.1556, allocations: 31.88 kB / 0.5261 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004897/0.1605, allocations: 1.836 MB / 0.5279 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002987/0.1634, allocations: 0.7301 MB / 0.5286 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002794/0.1662, allocations: 1.079 MB / 0.5297 GB, free: 9.434 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002898/0.1691, allocations: 1.44 MB / 0.5311 GB, free: 7.984 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002321/0.1715, allocations: 0.9457 MB / 0.532 GB, free: 7.016 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00125/0.1727, allocations: 0.6306 MB / 0.5326 GB, free: 6.383 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.174, allocations: 0.7392 MB / 0.5333 GB, free: 5.641 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003581/0.1744, allocations: 116 kB / 0.5334 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.1756, allocations: 335.8 kB / 0.5338 GB, free: 5.199 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004793/0.1761, allocations: 302.9 kB / 0.5341 GB, free: 4.902 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001174/0.1773, allocations: 0.6685 MB / 0.5347 GB, free: 4.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003046/0.1803, allocations: 1.786 MB / 0.5365 GB, free: 2.438 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1803, allocations: 4 kB / 0.5365 GB, free: 2.434 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1803, allocations: 0 / 0.5365 GB, free: 2.434 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.316e-05/0.1804, allocations: 0 / 0.5365 GB, free: 2.434 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.008503/0.1889, allocations: 2.354 MB / 0.5388 GB, free: 44 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.189, allocations: 8.031 kB / 0.5388 GB, free: 36 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2748/0.4637, allocations: 200.8 kB / 0.539 GB, free: 27.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01062/0.4744, allocations: 1.496 MB / 0.5404 GB, free: 27.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.4757, allocations: 0.5642 MB / 0.541 GB, free: 27.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.224e-05/0.4758, allocations: 102.2 kB / 0.5411 GB, free: 27.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/0.476, allocations: 135.2 kB / 0.5412 GB, free: 27.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002642/0.4786, allocations: 1.528 MB / 0.5427 GB, free: 27.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.104e-05/0.4787, allocations: 14.72 kB / 0.5427 GB, free: 27.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.4788, allocations: 56.38 kB / 0.5428 GB, free: 27.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-05/0.4788, allocations: 37.66 kB / 0.5428 GB, free: 27.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002557/0.4814, allocations: 1.577 MB / 0.5443 GB, free: 26.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00736/0.4887, allocations: 5.108 MB / 0.5493 GB, free: 23.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001969/0.4907, allocations: 1.101 MB / 0.5504 GB, free: 23.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009137/0.4916, allocations: 0.5571 MB / 0.5509 GB, free: 22.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.4917, allocations: 29.16 kB / 0.551 GB, free: 22.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.4917, allocations: 48.25 kB / 0.551 GB, free: 22.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.156e-06/0.4918, allocations: 1.094 kB / 0.551 GB, free: 22.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.008681/0.5004, allocations: 3.073 MB / 0.554 GB, free: 21.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.5005, allocations: 91.41 kB / 0.5541 GB, free: 21.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005723/0.501, allocations: 480.1 kB / 0.5546 GB, free: 21.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.652e-05/0.5011, allocations: 46.45 kB / 0.5546 GB, free: 21.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002686/0.5014, allocations: 0.4953 MB / 0.5551 GB, free: 21.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002765/0.5017, allocations: 446.5 kB / 0.5555 GB, free: 20.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003404/0.502, allocations: 234.7 kB / 0.5557 GB, free: 20.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.5021, allocations: 383.2 kB / 0.5561 GB, free: 20.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007958/0.5029, allocations: 461.8 kB / 0.5565 GB, free: 20.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009403/0.5039, allocations: 0.7495 MB / 0.5573 GB, free: 19.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/0.5056, allocations: 1.262 MB / 0.5585 GB, free: 18.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.829e-06/0.5056, allocations: 2.5 kB / 0.5585 GB, free: 18.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00298/0.5086, allocations: 1.649 MB / 0.5601 GB, free: 18.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.5086, allocations: 9.062 kB / 0.5601 GB, free: 18.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.5087, allocations: 8.516 kB / 0.5601 GB, free: 18.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001617/0.5103, allocations: 0.5282 MB / 0.5606 GB, free: 17.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009387/0.5112, allocations: 220 kB / 0.5609 GB, free: 17.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002316/0.5114, allocations: 55.77 kB / 0.5609 GB, free: 17.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000817/0.5123, allocations: 133.2 kB / 0.561 GB, free: 17.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.5124, allocations: 55.05 kB / 0.5611 GB, free: 17.85 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.0004927/0.5129, allocations: 270.3 kB / 0.5613 GB, free: 17.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.513, allocations: 91.53 kB / 0.5614 GB, free: 17.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002697/0.5157, allocations: 1.557 MB / 0.563 GB, free: 16.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/0.5157, allocations: 13.66 kB / 0.563 GB, free: 16.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.5157, allocations: 2.156 kB / 0.563 GB, free: 16.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-05/0.5158, allocations: 7.031 kB / 0.563 GB, free: 16.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004536/0.5203, allocations: 2.846 MB / 0.5658 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.5203, allocations: 0 / 0.5658 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006823/0.521, allocations: 142.5 kB / 0.5659 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001404/0.5224, allocations: 0.5226 MB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.716e-05/0.5225, allocations: 29.34 kB / 0.5664 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.605e-05/0.5226, allocations: 27.97 kB / 0.5665 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.5226, allocations: 0 / 0.5665 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003708/0.5263, allocations: 2.283 MB / 0.5687 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004495/0.5267, allocations: 223.6 kB / 0.5689 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.5268, allocations: 20.81 kB / 0.5689 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005668/0.5274, allocations: 46.33 kB / 0.569 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.5276, allocations: 81.56 kB / 0.569 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.55e-05/0.5277, allocations: 36.94 kB / 0.5691 GB, free: 13.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003797/0.528, allocations: 321 kB / 0.5694 GB, free: 13.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.528, allocations: 4 kB / 0.5694 GB, free: 13.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001394/0.5294, allocations: 349.8 kB / 0.5697 GB, free: 13.62 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.003806/0.5332, allocations: 2.89 MB / 0.5725 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00274/0.536, allocations: 1.297 MB / 0.5738 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.536, allocations: 0 / 0.5738 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001584/0.5376, allocations: 0.6821 MB / 0.5745 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008727/0.5384, allocations: 105.7 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.01098/0.5494, allocations: 8.627 MB / 0.583 GB, free: 4.754 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.5498, allocations: 1.044 MB / 0.584 GB, free: 3.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004328/0.5502, allocations: 117.3 kB / 0.5841 GB, free: 3.562 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003806/0.5506, allocations: 399.3 kB / 0.5845 GB, free: 3.172 MB / 414.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5506, allocations: 3.938 kB / 0.5845 GB, free: 3.168 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06536/0.616, allocations: 23.47 MB / 0.6074 GB, free: 11.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/14.6, allocations: 12.98 kB / 0.6074 GB, free: 11.69 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal_fmu --startTime=0 --stopTime=1 --stepSize=0.00019976 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.001568017993122]