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.000905/0.000905, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.000897/0.000897, allocations: 170.3 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.8717/0.8717, allocations: 177.1 MB / 204.2 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2609/0.2609, allocations: 34.25 MB / 294.9 MB, free: 0.7227 MB / 266.7 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 1.372e-06/1.372e-06, allocations: 0 / 442.2 MB, free: 1.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.117e-05/2.254e-05, allocations: 6.219 kB / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.1795/0.1795, allocations: 1.851 MB / 444 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008012/0.1803, allocations: 0.5584 MB / 444.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.941e-05/0.1804, allocations: 2.875 kB / 444.6 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.102e-05/0.1804, allocations: 18.05 kB / 444.6 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.1806, allocations: 46.78 kB / 444.6 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.1809, allocations: 81.84 kB / 444.7 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.181, allocations: 156.2 kB / 444.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.1811, allocations: 24.39 kB / 444.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.1813, allocations: 107.1 kB / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.538e-05/0.1813, allocations: 50.66 kB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.1814, allocations: 19.58 kB / 445.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.107e-05/0.1814, allocations: 17.72 kB / 445.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.1814, allocations: 29.39 kB / 445.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.476e-05/0.1815, allocations: 41.84 kB / 445.1 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.1816, allocations: 161 kB / 445.3 MB, free: 43.08 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1816, allocations: 0 / 445.3 MB, free: 43.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1816, allocations: 0 / 445.3 MB, free: 43.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.1816, allocations: 0 / 445.3 MB, free: 43.08 MB / 410.7 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.000509/0.1821, allocations: 374.2 kB / 445.7 MB, free: 42.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.1822, allocations: 8.844 kB / 445.7 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.806e-05/0.1822, allocations: 40.62 kB / 445.7 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.1824, allocations: 41.22 kB / 445.8 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.916e-05/0.1825, allocations: 136.5 kB / 445.9 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.1825, allocations: 6.312 kB / 445.9 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.1825, allocations: 6.156 kB / 445.9 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.1827, allocations: 184.4 kB / 446.1 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.1827, allocations: 192 / 446.1 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.1827, allocations: 13.75 kB / 446.1 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1827, allocations: 0 / 446.1 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.1829, allocations: 91.91 kB / 446.2 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/0.1833, allocations: 402.4 kB / 446.6 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.1835, allocations: 89.45 kB / 446.7 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.983e-05/0.1836, allocations: 43.16 kB / 446.7 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.1836, allocations: 2.594 kB / 446.7 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.446e-05/0.1836, allocations: 30.56 kB / 446.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1836, allocations: 2.969 kB / 446.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007352/0.1843, allocations: 327.1 kB / 447.1 MB, free: 42.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.1844, allocations: 102.8 kB / 447.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.436e-05/0.1844, allocations: 149.9 kB / 447.3 MB, free: 41.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.1845, allocations: 25.7 kB / 447.3 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.1845, allocations: 115.1 kB / 447.5 MB, free: 41.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.167e-05/0.1845, allocations: 18.05 kB / 447.5 MB, free: 41.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.1845, allocations: 28.55 kB / 447.5 MB, free: 41.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.999e-05/0.1846, allocations: 321.5 kB / 447.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.1847, allocations: 65.89 kB / 447.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.1848, allocations: 148.1 kB / 448 MB, free: 41.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.1851, allocations: 132.9 kB / 448.1 MB, free: 41.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1851, allocations: 0 / 448.1 MB, free: 41.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002667/0.1854, allocations: 179.4 kB / 448.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.1854, allocations: 9.281 kB / 448.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.1854, allocations: 3.062 kB / 448.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1854, allocations: 3.938 kB / 448.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/0.1857, allocations: 85.52 kB / 448.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007544/0.1865, allocations: 1.387 MB / 449.8 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.1866, allocations: 25.14 kB / 449.8 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.1866, allocations: 10.3 kB / 449.8 MB, free: 39.7 MB / 410.7 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 7.076e-05/0.1866, allocations: 123.5 kB / 450 MB, free: 39.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.1867, allocations: 9.672 kB / 450 MB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002486/0.1869, allocations: 167.3 kB / 450.1 MB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1869, allocations: 2.719 kB / 450.1 MB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.31e-07/0.1869, allocations: 0 / 450.1 MB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1869, allocations: 0 / 450.1 MB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004/0.1873, allocations: 416.7 kB / 450.5 MB, free: 39.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1873, allocations: 3.938 kB / 450.6 MB, free: 39.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.121e-05/0.1874, allocations: 30.25 kB / 450.6 MB, free: 39.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1874, allocations: 0 / 450.6 MB, free: 39.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1874, allocations: 2.812 kB / 450.6 MB, free: 39.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1874, allocations: 4 kB / 450.6 MB, free: 39.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1874, allocations: 0 / 450.6 MB, free: 39.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.1876, allocations: 255.1 kB / 450.8 MB, free: 39.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.175e-05/0.1877, allocations: 10.17 kB / 450.8 MB, free: 39.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.1877, allocations: 2.781 kB / 450.9 MB, free: 39.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.1878, allocations: 23 kB / 450.9 MB, free: 39.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.1878, allocations: 10.17 kB / 450.9 MB, free: 39.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.1878, allocations: 8.5 kB / 450.9 MB, free: 39.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.931e-05/0.1879, allocations: 118.9 kB / 451 MB, free: 38.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1879, allocations: 2.844 kB / 451 MB, free: 38.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001744/0.188, allocations: 23.16 kB / 451 MB, free: 38.92 MB / 410.7 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.0003953/0.1884, allocations: 0.7813 MB / 451.8 MB, free: 38.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004391/0.1889, allocations: 171.5 kB / 452 MB, free: 38.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1889, allocations: 3.938 kB / 452 MB, free: 38.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.803e-05/0.189, allocations: 58.45 kB / 452 MB, free: 38.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.1892, allocations: 21.22 kB / 452.1 MB, free: 38.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.1909, allocations: 1.982 MB / 454 MB, free: 36.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.091e-05/0.191, allocations: 88.69 kB / 454.1 MB, free: 36.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.99e-05/0.191, allocations: 13.28 kB / 454.1 MB, free: 36.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.1911, allocations: 33.31 kB / 454.2 MB, free: 36.65 MB / 410.7 MB Notification: Performance of SimCode: time 8.31e-07/0.1911, allocations: 0 / 454.2 MB, free: 36.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.2076, allocations: 3.973 MB / 458.2 MB, free: 35.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.5/7.707, allocations: 4 kB / 458.2 MB, free: 35.55 MB / 410.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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: 9.652510611340404]