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.001346/0.001346, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001422/0.001422, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.577/1.577, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2646/0.2646, allocations: 46.92 MB / 357.1 MB, free: 10.4 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: translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 71.89 kB / 0.4914 GB, free: 7.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1753, allocations: 65.99 MB / 0.5558 GB, free: 5.461 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.00374/0.1791, allocations: 1.921 MB / 0.5577 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.1803, allocations: 0.6039 MB / 0.5583 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.558e-05/0.1803, allocations: 4 kB / 0.5583 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 6.981e-05/0.1804, allocations: 11.86 kB / 0.5583 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.1807, allocations: 43.62 kB / 0.5583 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.181, allocations: 87.69 kB / 0.5584 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002224/0.1812, allocations: 151.5 kB / 0.5586 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.1813, allocations: 29.09 kB / 0.5586 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002369/0.1816, allocations: 75.7 kB / 0.5587 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.1817, allocations: 71.73 kB / 0.5587 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.125e-05/0.1817, allocations: 12 kB / 0.5588 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.172e-05/0.1818, allocations: 16 kB / 0.5588 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.6e-05/0.1818, allocations: 31.86 kB / 0.5588 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.781e-05/0.1819, allocations: 63.7 kB / 0.5589 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.1822, allocations: 143.4 kB / 0.559 GB, free: 2.191 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1822, allocations: 0 / 0.559 GB, free: 2.191 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1822, allocations: 0 / 0.559 GB, free: 2.191 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1822, allocations: 4 kB / 0.559 GB, free: 2.188 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.0009297/0.1831, allocations: 450.9 kB / 0.5594 GB, free: 1.699 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.1831, allocations: 12.03 kB / 0.5594 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003144/0.1835, allocations: 44.81 kB / 0.5595 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.1837, allocations: 182.2 kB / 0.5597 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.1837, allocations: 8.375 kB / 0.5597 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/0.1837, allocations: 8.375 kB / 0.5597 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004032/0.1841, allocations: 140.5 kB / 0.5598 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.1841, allocations: 4 kB / 0.5598 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.1842, allocations: 0 / 0.5598 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1842, allocations: 0 / 0.5598 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003652/0.1845, allocations: 99.86 kB / 0.5599 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000948/0.1855, allocations: 459.4 kB / 0.5603 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/0.1858, allocations: 94.47 kB / 0.5604 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.186, allocations: 40.86 kB / 0.5605 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.186, allocations: 0 / 0.5605 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.186, allocations: 42.48 kB / 0.5605 GB, free: 468 kB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.186, allocations: 4 kB / 0.5605 GB, free: 464 kB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.00148/0.1875, allocations: 313.1 kB / 0.5608 GB, free: 144 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.1876, allocations: 110.8 kB / 0.5609 GB, free: 8 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.1878, allocations: 151.2 kB / 0.5611 GB, free: 15.85 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.1878, allocations: 29.7 kB / 0.5611 GB, free: 15.81 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.346e-05/0.1879, allocations: 112.2 kB / 0.5612 GB, free: 15.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.1879, allocations: 19.84 kB / 0.5612 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-05/0.188, allocations: 29.7 kB / 0.5613 GB, free: 15.64 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.1882, allocations: 318.8 kB / 0.5616 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.1884, allocations: 63.94 kB / 0.5616 GB, free: 15.26 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.1887, allocations: 92.17 kB / 0.5617 GB, free: 15.15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004678/0.1892, allocations: 134.5 kB / 0.5618 GB, free: 15.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1892, allocations: 64 / 0.5618 GB, free: 15.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005648/0.1897, allocations: 181.4 kB / 0.562 GB, free: 14.83 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.1898, allocations: 11.94 kB / 0.562 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1898, allocations: 3.938 kB / 0.562 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.1898, allocations: 0 / 0.562 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000616/0.1904, allocations: 87.97 kB / 0.5621 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001806/0.1922, allocations: 1.498 MB / 0.5636 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.1924, allocations: 27.94 kB / 0.5636 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.1925, allocations: 12.11 kB / 0.5636 GB, free: 13.05 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.0001347/0.1926, allocations: 127.9 kB / 0.5637 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.1926, allocations: 11.95 kB / 0.5637 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005376/0.1932, allocations: 158.3 kB / 0.5639 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1932, allocations: 4 kB / 0.5639 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.1932, allocations: 0 / 0.5639 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1932, allocations: 0 / 0.5639 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009096/0.1941, allocations: 470.2 kB / 0.5643 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.1941, allocations: 3.984 kB / 0.5643 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.1943, allocations: 23.98 kB / 0.5644 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1943, allocations: 0 / 0.5644 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.1943, allocations: 3.984 kB / 0.5644 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.1943, allocations: 3.938 kB / 0.5644 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1943, allocations: 432 / 0.5644 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005615/0.1948, allocations: 255.3 kB / 0.5646 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.006e-05/0.1949, allocations: 92.98 kB / 0.5647 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.1949, allocations: 8 kB / 0.5647 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.1952, allocations: 27.91 kB / 0.5647 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.1952, allocations: 0 / 0.5647 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.1952, allocations: 11.98 kB / 0.5648 GB, free: 11.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000108/0.1953, allocations: 112.8 kB / 0.5649 GB, free: 11.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1953, allocations: 0 / 0.5649 GB, free: 11.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000284/0.1956, allocations: 24 kB / 0.5649 GB, free: 11.64 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.000125/0.1957, allocations: 103.2 kB / 0.565 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009437/0.1967, allocations: 179.9 kB / 0.5652 GB, free: 11.35 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1967, allocations: 0 / 0.5652 GB, free: 11.35 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.1969, allocations: 55.95 kB / 0.5652 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.1973, allocations: 10.03 kB / 0.5652 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.1987, allocations: 378.5 kB / 0.5656 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.1991, allocations: 0.7041 MB / 0.5663 GB, free: 10.16 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.091e-05/0.1991, allocations: 16.41 kB / 0.5663 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.168e-05/0.1992, allocations: 15.42 kB / 0.5663 GB, free: 10.13 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1992, allocations: 4 kB / 0.5663 GB, free: 10.12 MB / 430.1 MB Notification: Performance of Templates: time 0.005686/0.2049, allocations: 1.722 MB / 0.568 GB, free: 8.41 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 480] 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: 5.48072224855423]