Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.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.0007695/0.0007695, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003008/0.003008, allocations: 160.4 kB / 24.7 MB, free: 9.43 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.8883/0.8883, allocations: 177.1 MB / 205 MB, free: 5.754 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.2422/0.2422, allocations: 34.25 MB / 295.7 MB, free: 0.6875 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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 443.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.811e-05/3.028e-05, allocations: 3.828 kB / 443.4 MB, free: 1.168 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001152/0.001182, allocations: 0.4954 MB / 443.9 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1595/0.1607, allocations: 1.511 MB / 445.4 MB, free: 43.67 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.128e-05/0.1607, allocations: 0 / 445.4 MB, free: 43.67 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.657e-05/0.1607, allocations: 0 / 445.4 MB, free: 43.67 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.321e-06/0.1607, allocations: 0.875 kB / 445.4 MB, free: 43.67 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0007621/0.1615, allocations: 258.6 kB / 445.7 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.768e-05/0.1615, allocations: 4.594 kB / 445.7 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.78e-05/0.1616, allocations: 3.328 kB / 445.7 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.959e-05/0.1616, allocations: 6.516 kB / 445.7 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.945e-05/0.1616, allocations: 3.984 kB / 445.7 MB, free: 43.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.822e-06/0.1616, allocations: 0 / 445.7 MB, free: 43.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005831/0.1622, allocations: 0.6835 MB / 446.4 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.846e-06/0.1622, allocations: 0 / 446.4 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.909e-05/0.1622, allocations: 1.594 kB / 446.4 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005025/0.1627, allocations: 0.7427 MB / 447.1 MB, free: 43.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1627, allocations: 7.312 kB / 447.1 MB, free: 43.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.093e-06/0.1627, allocations: 0 / 447.1 MB, free: 43.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1627, allocations: 1.5 kB / 447.1 MB, free: 43.54 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.0003169/0.163, allocations: 289.9 kB / 447.4 MB, free: 43.24 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.1631, allocations: 8.719 kB / 447.4 MB, free: 43.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.1631, allocations: 0.9375 kB / 447.4 MB, free: 43.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.547e-05/0.1632, allocations: 106.3 kB / 447.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.1632, allocations: 3.25 kB / 447.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.1632, allocations: 1.094 kB / 447.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.018e-05/0.1633, allocations: 61.53 kB / 447.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1633, allocations: 192 / 447.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1633, allocations: 384 / 447.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1633, allocations: 11.34 kB / 447.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.203e-05/0.1633, allocations: 28.48 kB / 447.6 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.962e-05/0.1634, allocations: 100.2 kB / 447.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.998e-05/0.1635, allocations: 46.39 kB / 447.8 MB, free: 42.83 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.534e-05/0.1635, allocations: 30.56 kB / 447.8 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.1635, allocations: 0 / 447.8 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.1635, allocations: 59.77 kB / 447.9 MB, free: 42.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.1635, allocations: 0 / 447.9 MB, free: 42.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001587/0.1637, allocations: 125.2 kB / 448 MB, free: 42.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.1637, allocations: 81.05 kB / 448.1 MB, free: 42.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.648e-05/0.1637, allocations: 89.86 kB / 448.1 MB, free: 42.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.839e-06/0.1637, allocations: 25.7 kB / 448.2 MB, free: 42.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.101e-06/0.1637, allocations: 80.14 kB / 448.3 MB, free: 42.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.1637, allocations: 6.359 kB / 448.3 MB, free: 42.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.971e-05/0.1638, allocations: 13.72 kB / 448.3 MB, free: 42.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.16e-05/0.1638, allocations: 321 kB / 448.6 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.165e-05/0.1638, allocations: 25.7 kB / 448.6 MB, free: 41.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.596e-06/0.1638, allocations: 28.83 kB / 448.6 MB, free: 41.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.715e-05/0.1638, allocations: 66.95 kB / 448.7 MB, free: 41.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1638, allocations: 0 / 448.7 MB, free: 41.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.961e-05/0.1639, allocations: 92.95 kB / 448.8 MB, free: 41.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.1639, allocations: 32.83 kB / 448.8 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1639, allocations: 0.5 kB / 448.8 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1639, allocations: 4.094 kB / 448.8 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.1639, allocations: 0 / 448.8 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.1639, allocations: 3.938 kB / 448.8 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.586e-05/0.1639, allocations: 3.125 kB / 448.8 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.164, allocations: 6.406 kB / 448.8 MB, free: 41.67 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 4.008e-05/0.164, allocations: 134.6 kB / 449 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-06/0.164, allocations: 0 / 449 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.095e-05/0.164, allocations: 3 kB / 449 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.164, allocations: 0 / 449 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.164, allocations: 0 / 449 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.164, allocations: 7.938 kB / 449 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.281e-05/0.1641, allocations: 99.22 kB / 449.1 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.1641, allocations: 0 / 449.1 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1641, allocations: 0 / 449.1 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.1641, allocations: 4.406 kB / 449.1 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.1641, allocations: 0 / 449.1 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.4e-07/0.1641, allocations: 0 / 449.1 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1641, allocations: 3.938 kB / 449.1 MB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.738e-05/0.1641, allocations: 118.9 kB / 449.2 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.598e-06/0.1641, allocations: 3.234 kB / 449.2 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-06/0.1641, allocations: 4.031 kB / 449.2 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.042e-06/0.1641, allocations: 10.17 kB / 449.2 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.249e-05/0.1641, allocations: 0 / 449.2 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-06/0.1642, allocations: 0 / 449.2 MB, free: 41.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.168e-06/0.1642, allocations: 79.22 kB / 449.3 MB, free: 41.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1642, allocations: 0 / 449.3 MB, free: 41.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002638/0.1644, allocations: 118 kB / 449.4 MB, free: 41.16 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.0005676/0.165, allocations: 192.7 kB / 449.6 MB, free: 41.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.99e-05/0.1651, allocations: 115.9 kB / 449.7 MB, free: 40.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1651, allocations: 2.969 kB / 449.7 MB, free: 40.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.312e-05/0.1651, allocations: 79.98 kB / 449.8 MB, free: 40.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.537e-05/0.1652, allocations: 4.219 kB / 449.8 MB, free: 40.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001585/0.1654, allocations: 139.8 kB / 449.9 MB, free: 40.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.52e-05/0.1654, allocations: 57.72 kB / 450 MB, free: 40.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.202e-05/0.1654, allocations: 8.5 kB / 450 MB, free: 40.59 MB / 410.7 MB Notification: Performance of SimCode: time 3.41e-07/0.1654, allocations: 0 / 450 MB, free: 40.59 MB / 410.7 MB Notification: Performance of Templates: time 0.003135/0.1685, allocations: 2.71 MB / 452.7 MB, free: 40.47 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices3/TestMatrices3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.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.513066507875919]