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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 105.2 kB / 16.27 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 189.4 kB / 17.19 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2007/0.2007, allocations: 43.52 MB / 313.9 MB, free: 0.5195 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 67.44 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08278/0.08422, allocations: 57.79 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.006613/0.09086, allocations: 7.725 MB / 448.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00424/0.09513, allocations: 2.353 MB / 450.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004444/0.0956, allocations: 35.94 kB / 450.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003663/0.09931, allocations: 1.816 MB / 452.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001926/0.1012, allocations: 0.8854 MB / 453.4 MB, free: 9.938 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001925/0.1032, allocations: 0.8936 MB / 454.3 MB, free: 9.051 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001616/0.1048, allocations: 1.425 MB / 455.8 MB, free: 7.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001366/0.1062, allocations: 1.009 MB / 456.8 MB, free: 6.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006276/0.1068, allocations: 0.615 MB / 457.4 MB, free: 5.973 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000699/0.1075, allocations: 0.7353 MB / 458.1 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001563/0.1077, allocations: 116 kB / 458.2 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006268/0.1083, allocations: 339.8 kB / 458.6 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002211/0.1086, allocations: 306.9 kB / 458.9 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005597/0.1091, allocations: 0.6685 MB / 459.5 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.1107, allocations: 1.748 MB / 461.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1107, allocations: 0 / 461.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1107, allocations: 0 / 461.3 MB, free: 2.062 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.1107, allocations: 0 / 461.3 MB, free: 2.062 MB / 334.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.00725/0.118, allocations: 2.404 MB / 463.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.1181, allocations: 11.89 kB / 463.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002219/0.1183, allocations: 199 kB / 463.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/0.1291, allocations: 1.49 MB / 465.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.1301, allocations: 0.6207 MB / 466 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.014e-05/0.1302, allocations: 99.09 kB / 466.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002085/0.1304, allocations: 140 kB / 466.2 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002479/0.1329, allocations: 1.527 MB / 467.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.721e-05/0.1329, allocations: 8 kB / 467.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.1331, allocations: 56 kB / 467.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.109e-05/0.1331, allocations: 39.92 kB / 467.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0026/0.1357, allocations: 1.58 MB / 469.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007493/0.1432, allocations: 5.554 MB / 475 MB, free: 3.902 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002461/0.1457, allocations: 2.374 MB / 477.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.1467, allocations: 0.6692 MB / 478 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.1469, allocations: 106.1 kB / 478.1 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.1469, allocations: 43.56 kB / 478.2 MB, free: 424 kB / 350.1 MB Notification: Performance of pre-optimization done (n=129): time 2.865e-06/0.1469, allocations: 0 / 478.2 MB, free: 424 kB / 350.1 MB Notification: Performance of matching and sorting (n=129): time 0.009087/0.156, allocations: 3.167 MB / 481.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.1561, allocations: 90.11 kB / 481.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005086/0.1566, allocations: 481.9 kB / 481.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.107e-05/0.1567, allocations: 45.7 kB / 482 MB, free: 12.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002822/0.157, allocations: 483.2 kB / 482.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003177/0.1573, allocations: 437.7 kB / 482.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003483/0.1576, allocations: 230.7 kB / 483.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.1578, allocations: 386.8 kB / 483.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008496/0.1587, allocations: 463.1 kB / 483.9 MB, free: 10.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.1597, allocations: 0.7442 MB / 484.7 MB, free: 9.738 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001906/0.1617, allocations: 1.259 MB / 485.9 MB, free: 8.367 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.1617, allocations: 4 kB / 485.9 MB, free: 8.363 MB / 366.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002949/0.1646, allocations: 1.666 MB / 487.6 MB, free: 6.688 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.1647, allocations: 15.97 kB / 487.6 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.1647, allocations: 8 kB / 487.6 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001523/0.1662, allocations: 0.5396 MB / 488.1 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008031/0.167, allocations: 211.7 kB / 488.3 MB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002057/0.1672, allocations: 57.19 kB / 488.4 MB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006811/0.1679, allocations: 130.6 kB / 488.5 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.742e-05/0.168, allocations: 55.98 kB / 488.6 MB, free: 5.676 MB / 366.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.0004079/0.1685, allocations: 265.6 kB / 488.8 MB, free: 5.406 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.1686, allocations: 87 kB / 488.9 MB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002743/0.1714, allocations: 1.579 MB / 490.5 MB, free: 3.727 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.1714, allocations: 12 kB / 490.5 MB, free: 3.715 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.1714, allocations: 0 / 490.5 MB, free: 3.715 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.1714, allocations: 7.969 kB / 490.5 MB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004431/0.1759, allocations: 2.9 MB / 493.4 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.1759, allocations: 4.031 kB / 493.4 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006282/0.1765, allocations: 155.7 kB / 493.6 MB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001386/0.1779, allocations: 0.5184 MB / 494.1 MB, free: 68 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.809e-05/0.178, allocations: 27.98 kB / 494.1 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.788e-05/0.1781, allocations: 28.78 kB / 494.2 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1781, allocations: 3.984 kB / 494.2 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003696/0.1818, allocations: 2.308 MB / 496.5 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003811/0.1822, allocations: 291.6 kB / 496.8 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.1823, allocations: 20 kB / 496.8 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00059/0.1829, allocations: 47.97 kB / 496.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/0.1831, allocations: 77.2 kB / 496.9 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-05/0.1832, allocations: 32 kB / 496.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003516/0.1836, allocations: 326.9 kB / 497.2 MB, free: 12.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1836, allocations: 0 / 497.2 MB, free: 12.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008756/0.1845, allocations: 343.1 kB / 497.6 MB, free: 12.54 MB / 382.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.004029/0.1885, allocations: 2.9 MB / 0.4888 GB, free: 9.605 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00356/0.1921, allocations: 1.435 MB / 0.4902 GB, free: 8.168 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1921, allocations: 448 / 0.4902 GB, free: 8.168 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001701/0.1938, allocations: 0.7699 MB / 0.4909 GB, free: 7.402 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006672/0.1945, allocations: 106.2 kB / 0.491 GB, free: 7.297 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01248/0.207, allocations: 8.904 MB / 0.4997 GB, free: 14.06 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00063/0.2076, allocations: 1.048 MB / 0.5007 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005388/0.2082, allocations: 115 kB / 0.5008 GB, free: 12.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004745/0.2087, allocations: 395.3 kB / 0.5012 GB, free: 12.48 MB / 398.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2087, allocations: 0 / 0.5012 GB, free: 12.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04543/0.2541, allocations: 21.7 MB / 0.5224 GB, free: 6.758 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.31, allocations: 11.8 kB / 0.5224 GB, free: 6.746 MB / 414.1 MB (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.0004 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) 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) Reference file matches