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.0011/0.0011, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001175/0.001175, allocations: 170.2 kB / 24.91 MB, free: 9.199 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 1.009/1.009, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2835/0.2835, allocations: 34.27 MB / 296.1 MB, free: 0.6523 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.284e-06/2.284e-06, allocations: 0 / 325.2 MB, free: 7.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.955e-05/3.183e-05, allocations: 3.516 kB / 325.2 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.002352/0.002383, allocations: 0.4997 MB / 325.7 MB, free: 7.191 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002058/0.004441, allocations: 1.565 MB / 327.3 MB, free: 5.605 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.058e-05/0.004462, allocations: 4 kB / 327.3 MB, free: 5.602 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.241e-05/0.004474, allocations: 0 / 327.3 MB, free: 5.602 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.181e-06/0.004481, allocations: 0 / 327.3 MB, free: 5.602 MB / 298.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.0008009/0.005281, allocations: 255.2 kB / 327.5 MB, free: 5.352 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.624e-05/0.005318, allocations: 7.938 kB / 327.5 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.417e-05/0.005352, allocations: 3.984 kB / 327.5 MB, free: 5.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.007e-05/0.005382, allocations: 3.984 kB / 327.6 MB, free: 5.336 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.792e-05/0.0054, allocations: 4 kB / 327.6 MB, free: 5.332 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.532e-06/0.005406, allocations: 0 / 327.6 MB, free: 5.332 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007309/0.006137, allocations: 0.6763 MB / 328.2 MB, free: 4.656 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.003e-05/0.006147, allocations: 0 / 328.2 MB, free: 4.656 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.468e-05/0.006162, allocations: 0 / 328.2 MB, free: 4.656 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008272/0.006989, allocations: 0.7602 MB / 329 MB, free: 3.895 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.006994, allocations: 0 / 329 MB, free: 3.895 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.006996, allocations: 0 / 329 MB, free: 3.895 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.007001, allocations: 0 / 329 MB, free: 3.895 MB / 298.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.0003888/0.007389, allocations: 258.2 kB / 329.2 MB, free: 3.613 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.007429, allocations: 8.031 kB / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.007461, allocations: 8.938 kB / 329.3 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.55e-05/0.007527, allocations: 101.8 kB / 329.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.007538, allocations: 4.375 kB / 329.4 MB, free: 3.469 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.007548, allocations: 384 / 329.4 MB, free: 3.469 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.166e-05/0.00763, allocations: 59.95 kB / 329.4 MB, free: 3.398 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.007637, allocations: 192 / 329.4 MB, free: 3.398 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.007644, allocations: 384 / 329.4 MB, free: 3.398 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.007651, allocations: 3.938 kB / 329.4 MB, free: 3.395 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.189e-05/0.007672, allocations: 37.64 kB / 329.5 MB, free: 3.352 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.703e-05/0.00775, allocations: 57.03 kB / 329.5 MB, free: 3.281 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.415e-05/0.007804, allocations: 44.31 kB / 329.6 MB, free: 3.223 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.921e-05/0.007823, allocations: 34.55 kB / 329.6 MB, free: 3.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-06/0.007826, allocations: 8.062 kB / 329.6 MB, free: 3.172 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.007867, allocations: 56.27 kB / 329.7 MB, free: 3.102 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.343e-06/0.007868, allocations: 0 / 329.7 MB, free: 3.102 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.000148/0.008016, allocations: 118.7 kB / 329.8 MB, free: 2.961 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.00806, allocations: 77.11 kB / 329.9 MB, free: 2.867 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.953e-05/0.0081, allocations: 89.86 kB / 329.9 MB, free: 2.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.008111, allocations: 25.7 kB / 330 MB, free: 2.738 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.497e-05/0.008136, allocations: 84.14 kB / 330 MB, free: 2.652 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.008154, allocations: 1.375 kB / 330 MB, free: 2.652 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/0.00818, allocations: 17.78 kB / 330.1 MB, free: 2.629 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.254e-05/0.008273, allocations: 318.8 kB / 330.4 MB, free: 2.309 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.402e-05/0.008297, allocations: 29.7 kB / 330.4 MB, free: 2.273 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.649e-05/0.008313, allocations: 25.7 kB / 330.4 MB, free: 2.242 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.399e-05/0.008367, allocations: 64.25 kB / 330.5 MB, free: 2.164 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.00837, allocations: 0 / 330.5 MB, free: 2.164 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.837e-05/0.008448, allocations: 85.05 kB / 330.6 MB, free: 2.062 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.694e-05/0.008485, allocations: 36.05 kB / 330.6 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.008491, allocations: 3.984 kB / 330.6 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.008506, allocations: 96 / 330.6 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.969e-06/0.008511, allocations: 4 kB / 330.6 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.008514, allocations: 0 / 330.6 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.73e-05/0.008531, allocations: 0 / 330.6 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.008539, allocations: 7.938 kB / 330.6 MB, free: 2.008 MB / 298.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 8.877e-05/0.008628, allocations: 135.5 kB / 330.8 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.008639, allocations: 4 kB / 330.8 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.399e-05/0.008653, allocations: 7 kB / 330.8 MB, free: 1.852 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.008656, allocations: 0 / 330.8 MB, free: 1.852 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.008658, allocations: 0 / 330.8 MB, free: 1.852 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.008661, allocations: 0 / 330.8 MB, free: 1.852 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.686e-05/0.008728, allocations: 77.81 kB / 330.8 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.008729, allocations: 0 / 330.8 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.122e-06/0.00873, allocations: 0 / 330.8 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.008732, allocations: 0 / 330.8 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.008737, allocations: 0 / 330.8 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.008738, allocations: 0 / 330.8 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.008741, allocations: 7.922 kB / 330.9 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.008858, allocations: 120.5 kB / 331 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-06/0.008863, allocations: 352 / 331 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.008875, allocations: 0 / 331 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.858e-06/0.008885, allocations: 0 / 331 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.347e-06/0.008894, allocations: 8.031 kB / 331 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.008899, allocations: 0 / 331 MB, free: 1.594 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.765e-06/0.008906, allocations: 4.859 kB / 331 MB, free: 1.586 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008906, allocations: 0 / 331 MB, free: 1.586 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003964/0.009303, allocations: 123.9 kB / 331.1 MB, free: 1.465 MB / 298.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.0007115/0.01001, allocations: 170.3 kB / 331.3 MB, free: 1.305 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.01013, allocations: 119.6 kB / 331.4 MB, free: 1.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.01014, allocations: 4 kB / 331.4 MB, free: 1.156 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.683e-05/0.01018, allocations: 85.97 kB / 331.5 MB, free: 1.051 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.735e-05/0.01023, allocations: 7.938 kB / 331.5 MB, free: 1.039 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001906/0.01042, allocations: 108.6 kB / 331.6 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.288e-05/0.01046, allocations: 55.48 kB / 331.6 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.652e-06/0.01046, allocations: 0 / 331.6 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.876e-05/0.0105, allocations: 51.38 kB / 331.7 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of SimCode: time 9.02e-07/0.0105, allocations: 0 / 331.7 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of Templates: time 0.00812/0.01862, allocations: 4.055 MB / 335.8 MB, free: 12.71 MB / 314.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.195361813995987]