Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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.00126/0.00126, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001333/0.001333, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.443/1.443, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2335/0.2335, allocations: 46.92 MB / 357.1 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 63.89 kB / 0.4909 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1606, allocations: 66 MB / 0.5554 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003465/0.164, allocations: 1.902 MB / 0.5572 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.1652, allocations: 0.6039 MB / 0.5578 GB, free: 3.293 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.087e-05/0.1653, allocations: 3.938 kB / 0.5578 GB, free: 3.289 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 5.29e-05/0.1653, allocations: 11.86 kB / 0.5578 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002723/0.1656, allocations: 47.62 kB / 0.5579 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.1659, allocations: 87.81 kB / 0.558 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.1661, allocations: 151.4 kB / 0.5581 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.1663, allocations: 29.09 kB / 0.5581 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002656/0.1665, allocations: 67.78 kB / 0.5582 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.1667, allocations: 75.67 kB / 0.5583 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.219e-05/0.1667, allocations: 12 kB / 0.5583 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.759e-05/0.1668, allocations: 20 kB / 0.5583 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.008e-05/0.1668, allocations: 27.91 kB / 0.5583 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.255e-05/0.1669, allocations: 59.72 kB / 0.5584 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.1671, allocations: 147.4 kB / 0.5585 GB, free: 2.566 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1671, allocations: 4 kB / 0.5585 GB, free: 2.562 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1671, allocations: 4 kB / 0.5585 GB, free: 2.559 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1671, allocations: 0 / 0.5585 GB, free: 2.559 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008776/0.168, allocations: 446.9 kB / 0.559 GB, free: 2.074 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.1681, allocations: 12.03 kB / 0.559 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.68e-05/0.1681, allocations: 42.73 kB / 0.559 GB, free: 2.012 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003148/0.1685, allocations: 44.75 kB / 0.559 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.1687, allocations: 182.2 kB / 0.5592 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.1687, allocations: 4.375 kB / 0.5592 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.1687, allocations: 12.38 kB / 0.5592 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003624/0.1691, allocations: 144.2 kB / 0.5594 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.1691, allocations: 0 / 0.5594 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.1691, allocations: 0 / 0.5594 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1691, allocations: 0 / 0.5594 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003516/0.1695, allocations: 95.92 kB / 0.5595 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008996/0.1704, allocations: 463.3 kB / 0.5599 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.1707, allocations: 86.53 kB / 0.56 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.1709, allocations: 44.86 kB / 0.56 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.1709, allocations: 0 / 0.56 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.1709, allocations: 38.55 kB / 0.5601 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1709, allocations: 3.938 kB / 0.5601 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.001438/0.1723, allocations: 317.1 kB / 0.5604 GB, free: 480 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.719e-05/0.1724, allocations: 110.8 kB / 0.5605 GB, free: 344 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.1726, allocations: 157.5 kB / 0.5606 GB, free: 176 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.1726, allocations: 25.7 kB / 0.5607 GB, free: 144 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.765e-05/0.1727, allocations: 112.2 kB / 0.5608 GB, free: 24 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.1727, allocations: 15.86 kB / 0.5608 GB, free: 8 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.275e-05/0.1728, allocations: 29.78 kB / 0.5608 GB, free: 15.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.173, allocations: 322.8 kB / 0.5611 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.1732, allocations: 67.88 kB / 0.5612 GB, free: 15.58 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/0.1735, allocations: 84.25 kB / 0.5613 GB, free: 15.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004521/0.1739, allocations: 138.5 kB / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1739, allocations: 0 / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006223/0.1746, allocations: 185.4 kB / 0.5616 GB, free: 15.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.1746, allocations: 10.12 kB / 0.5616 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1746, allocations: 0 / 0.5616 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1746, allocations: 64 / 0.5616 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005923/0.1752, allocations: 87.91 kB / 0.5617 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00165/0.1769, allocations: 1.501 MB / 0.5631 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.1771, allocations: 32.03 kB / 0.5632 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.1771, allocations: 7.938 kB / 0.5632 GB, free: 13.37 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000146/0.1772, allocations: 121.8 kB / 0.5633 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.1773, allocations: 7.953 kB / 0.5633 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005283/0.1778, allocations: 166.3 kB / 0.5635 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1778, allocations: 0 / 0.5635 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.1778, allocations: 0 / 0.5635 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.1778, allocations: 0 / 0.5635 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008909/0.1787, allocations: 470.4 kB / 0.5639 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1787, allocations: 0 / 0.5639 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.1789, allocations: 31.97 kB / 0.5639 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1789, allocations: 0 / 0.5639 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.1789, allocations: 3.984 kB / 0.5639 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1789, allocations: 11.88 kB / 0.5639 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1789, allocations: 64 / 0.5639 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000555/0.1795, allocations: 251.4 kB / 0.5642 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.059e-05/0.1795, allocations: 89.05 kB / 0.5643 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.1795, allocations: 0 / 0.5643 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.1798, allocations: 31.91 kB / 0.5643 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/0.1798, allocations: 4 kB / 0.5643 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.1798, allocations: 0 / 0.5643 GB, free: 12.11 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001005/0.1799, allocations: 121.7 kB / 0.5644 GB, free: 11.99 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1799, allocations: 0 / 0.5644 GB, free: 11.99 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000309/0.1802, allocations: 24 kB / 0.5644 GB, free: 11.96 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009318/0.1812, allocations: 0.7828 MB / 0.5652 GB, free: 11.15 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009311/0.1821, allocations: 171.9 kB / 0.5654 GB, free: 10.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1821, allocations: 3.938 kB / 0.5654 GB, free: 10.98 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002548/0.1823, allocations: 59.94 kB / 0.5654 GB, free: 10.92 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.1827, allocations: 22.19 kB / 0.5655 GB, free: 10.9 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003827/0.1866, allocations: 1.983 MB / 0.5674 GB, free: 8.828 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.1869, allocations: 0.7002 MB / 0.5681 GB, free: 8.102 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.998e-05/0.187, allocations: 16.41 kB / 0.5681 GB, free: 8.086 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.999e-05/0.1871, allocations: 35.42 kB / 0.5681 GB, free: 8.051 MB / 430.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1871, allocations: 0 / 0.5681 GB, free: 8.051 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03133/0.2185, allocations: 3.202 MB / 0.5713 GB, free: 4.992 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.61, allocations: 3.938 kB / 0.5713 GB, free: 4.988 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable saturatingInductor.Psi in file ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.csv. Warning: Get data of variable saturatingInductor.Psi from file ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.csv failed! Error: Could not read variable saturatingInductor.i in file ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.csv. Warning: Get data of variable saturatingInductor.i from file ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.636888912005816]