Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.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.0008206/0.0008206, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003754/0.003754, allocations: 160.9 kB / 24.7 MB, free: 9.426 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.8257/0.8257, allocations: 177.2 MB / 205 MB, free: 5.727 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.2249/0.2249, allocations: 34.26 MB / 295.7 MB, free: 0.6914 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: translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 443.4 MB, free: 1.176 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/2.061e-05, allocations: 5.234 kB / 443.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.0013/0.00132, allocations: 0.4892 MB / 443.9 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1609/0.1622, allocations: 0.7159 MB / 444.6 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.965e-05/0.1622, allocations: 0 / 444.6 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.907e-05/0.1622, allocations: 5.594 kB / 444.6 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.622e-06/0.1622, allocations: 0 / 444.6 MB, free: 43.65 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:612:3-661:14:writable] Warning: Pure function 'ModelicaTest.Math.Vectors' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.1635, allocations: 0.6449 MB / 445.3 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.382e-05/0.1635, allocations: 2.938 kB / 445.3 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.036e-05/0.1636, allocations: 3.25 kB / 445.3 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.382e-05/0.1636, allocations: 5.156 kB / 445.3 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.569e-05/0.1636, allocations: 0 / 445.3 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.44e-06/0.1636, allocations: 0 / 445.3 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004119/0.164, allocations: 413.6 kB / 445.7 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.701e-06/0.164, allocations: 0.5625 kB / 445.7 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.565e-05/0.164, allocations: 0 / 445.7 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.1643, allocations: 375.9 kB / 446.1 MB, free: 43.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.1643, allocations: 0 / 446.1 MB, free: 43.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1643, allocations: 3.219 kB / 446.1 MB, free: 43.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.1643, allocations: 2.844 kB / 446.1 MB, free: 43.57 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002185/0.1646, allocations: 313.2 kB / 446.4 MB, free: 43.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.1646, allocations: 7.969 kB / 446.4 MB, free: 43.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.1646, allocations: 3.688 kB / 446.4 MB, free: 43.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.905e-05/0.1647, allocations: 108.8 kB / 446.5 MB, free: 43.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.1647, allocations: 4.312 kB / 446.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/0.1647, allocations: 3.25 kB / 446.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.204e-05/0.1647, allocations: 64.52 kB / 446.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.1647, allocations: 192 / 446.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.1648, allocations: 3.844 kB / 446.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1648, allocations: 384 / 446.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.579e-05/0.1648, allocations: 35.64 kB / 446.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.566e-05/0.1648, allocations: 96.27 kB / 446.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.974e-05/0.1649, allocations: 50.59 kB / 446.7 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.092e-05/0.1649, allocations: 36.56 kB / 446.8 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.502e-06/0.1649, allocations: 0 / 446.8 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.1649, allocations: 59.41 kB / 446.8 MB, free: 42.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 4.1e-07/0.1649, allocations: 0 / 446.8 MB, free: 42.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.000118/0.165, allocations: 114.8 kB / 446.9 MB, free: 42.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.968e-05/0.165, allocations: 83.03 kB / 447 MB, free: 42.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.156e-05/0.165, allocations: 89.86 kB / 447.1 MB, free: 42.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.437e-06/0.1651, allocations: 25.7 kB / 447.1 MB, free: 42.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.388e-06/0.1651, allocations: 80.77 kB / 447.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.291e-05/0.1651, allocations: 3.828 kB / 447.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.664e-05/0.1651, allocations: 12.59 kB / 447.2 MB, free: 42.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.29e-05/0.1651, allocations: 321.7 kB / 447.5 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-06/0.1651, allocations: 32.7 kB / 447.6 MB, free: 41.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.921e-06/0.1651, allocations: 28.89 kB / 447.6 MB, free: 41.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.072e-05/0.1651, allocations: 61.7 kB / 447.7 MB, free: 41.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1651, allocations: 0 / 447.7 MB, free: 41.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.796e-05/0.1652, allocations: 88.02 kB / 447.8 MB, free: 41.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1652, allocations: 32.39 kB / 447.8 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.1652, allocations: 2.656 kB / 447.8 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.1652, allocations: 3.562 kB / 447.8 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-07/0.1652, allocations: 0 / 447.8 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.1652, allocations: 0 / 447.8 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.069e-05/0.1652, allocations: 3.938 kB / 447.8 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.1652, allocations: 2.656 kB / 447.8 MB, free: 41.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 prepare postOptimizeDAE: time 3.138e-05/0.1653, allocations: 144.3 kB / 447.9 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-06/0.1653, allocations: 0 / 447.9 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.862e-06/0.1653, allocations: 6.938 kB / 447.9 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.1653, allocations: 0 / 447.9 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1653, allocations: 3 kB / 447.9 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.1653, allocations: 4 kB / 447.9 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 2.331e-05/0.1653, allocations: 97.27 kB / 448 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1653, allocations: 3.422 kB / 448 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.51e-07/0.1653, allocations: 4.125 kB / 448.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.21e-07/0.1653, allocations: 0 / 448.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.1653, allocations: 1.75 kB / 448.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.21e-07/0.1653, allocations: 0 / 448.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.41e-07/0.1653, allocations: 0 / 448.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.751e-05/0.1653, allocations: 121.1 kB / 448.2 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.204e-06/0.1653, allocations: 0 / 448.2 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.375e-06/0.1654, allocations: 6.688 kB / 448.2 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.218e-06/0.1654, allocations: 0 / 448.2 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.957e-06/0.1654, allocations: 3.688 kB / 448.2 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-06/0.1654, allocations: 6.812 kB / 448.2 MB, free: 41.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.462e-06/0.1654, allocations: 75.28 kB / 448.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1654, allocations: 0 / 448.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000193/0.1656, allocations: 83.41 kB / 448.3 MB, free: 41.19 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003206/0.1659, allocations: 245 kB / 448.6 MB, free: 41.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.849e-05/0.166, allocations: 119.2 kB / 448.7 MB, free: 40.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.166, allocations: 0 / 448.7 MB, free: 40.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.085e-05/0.166, allocations: 82.48 kB / 448.8 MB, free: 40.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.213e-05/0.166, allocations: 3.234 kB / 448.8 MB, free: 40.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000119/0.1662, allocations: 142.3 kB / 448.9 MB, free: 40.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.905e-05/0.1662, allocations: 53.89 kB / 449 MB, free: 40.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.017e-06/0.1662, allocations: 11.03 kB / 449 MB, free: 40.62 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1662, allocations: 0 / 449 MB, free: 40.62 MB / 410.7 MB Notification: Performance of Templates: time 0.002103/0.1683, allocations: 1.802 MB / 450.8 MB, free: 40.48 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.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.443754671141505]