Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.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.001371/0.001371, allocations: 84.31 kB / 22.21 MB, free: 2.285 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.001526/0.001526, allocations: 172.4 kB / 25.61 MB, free: 8.914 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.8972/0.8972, allocations: 177.2 MB / 206.1 MB, free: 4.5 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.1866/0.1866, allocations: 34.26 MB / 296.9 MB, free: 13.93 MB / 282.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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 379.3 MB, free: 23.45 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.138e-05, allocations: 6.516 kB / 379.3 MB, free: 23.45 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.0009996/0.001021, allocations: 0.4917 MB / 379.8 MB, free: 22.96 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.002763, allocations: 2.106 MB / 381.9 MB, free: 20.83 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.034e-05/0.002784, allocations: 0 / 381.9 MB, free: 20.83 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.343e-05/0.002797, allocations: 3.938 kB / 381.9 MB, free: 20.82 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 5.711e-06/0.002803, allocations: 0 / 381.9 MB, free: 20.82 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.00394, allocations: 0.7674 MB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.557e-05/0.003985, allocations: 0 / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.252e-05/0.004018, allocations: 0 / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.1e-05/0.004039, allocations: 0 / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.626e-05/0.004055, allocations: 4 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.342e-06/0.004062, allocations: 0 / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.005131, allocations: 1.56 MB / 384.2 MB, free: 18.49 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.026e-06/0.005139, allocations: 3.938 kB / 384.2 MB, free: 18.48 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.262e-05/0.005152, allocations: 0 / 384.2 MB, free: 18.48 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009445/0.006096, allocations: 1.875 MB / 386.1 MB, free: 16.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.006099, allocations: 0 / 386.1 MB, free: 16.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.0061, allocations: 0 / 386.1 MB, free: 16.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.359e-06/0.006104, allocations: 0 / 386.1 MB, free: 16.61 MB / 314.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.0003477/0.006452, allocations: 465.3 kB / 386.5 MB, free: 16.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.006487, allocations: 8.031 kB / 386.5 MB, free: 16.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.442e-05/0.006511, allocations: 0.9375 kB / 386.5 MB, free: 16.1 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.496e-05/0.006546, allocations: 116.6 kB / 386.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.006555, allocations: 384 / 386.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.609e-06/0.00656, allocations: 384 / 386.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.703e-05/0.006617, allocations: 59.95 kB / 386.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.006624, allocations: 3.938 kB / 386.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.318e-06/0.006628, allocations: 0 / 386.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.006633, allocations: 0 / 386.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.518e-06/0.006642, allocations: 29.64 kB / 386.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 4.953e-05/0.006692, allocations: 93.27 kB / 386.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.864e-05/0.00672, allocations: 52.77 kB / 386.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.806e-06/0.006729, allocations: 41.48 kB / 386.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-06/0.006732, allocations: 0 / 386.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.006752, allocations: 63.08 kB / 387 MB, free: 15.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 4.91e-07/0.006753, allocations: 0 / 387 MB, free: 15.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001164/0.006869, allocations: 114.8 kB / 387.1 MB, free: 15.4 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.006891, allocations: 85.05 kB / 387.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.716e-05/0.006908, allocations: 146.2 kB / 387.3 MB, free: 15.14 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.817e-06/0.006912, allocations: 25.7 kB / 387.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.557e-06/0.00692, allocations: 126.9 kB / 387.5 MB, free: 14.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.263e-05/0.006933, allocations: 3.938 kB / 387.5 MB, free: 14.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.847e-05/0.006952, allocations: 27.5 kB / 387.5 MB, free: 14.94 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.39e-05/0.006986, allocations: 496.1 kB / 388 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-06/0.006994, allocations: 25.7 kB / 388 MB, free: 14.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.312e-06/0.007, allocations: 29.7 kB / 388 MB, free: 14.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.794e-05/0.007028, allocations: 67.08 kB / 388.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.00703, allocations: 0 / 388.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.922e-05/0.007069, allocations: 85.05 kB / 388.2 MB, free: 14.2 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.007087, allocations: 33.7 kB / 388.2 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.007092, allocations: 0 / 388.2 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.0071, allocations: 4.094 kB / 388.2 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.007101, allocations: 0 / 388.2 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.007104, allocations: 7.922 kB / 388.2 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.093e-05/0.007115, allocations: 352 / 388.2 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.00712, allocations: 7.984 kB / 388.3 MB, free: 14.14 MB / 314.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.94e-05/0.007159, allocations: 182.3 kB / 388.4 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-06/0.007164, allocations: 4 kB / 388.4 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.033e-06/0.007171, allocations: 6.938 kB / 388.4 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.007172, allocations: 0 / 388.4 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.007174, allocations: 3.938 kB / 388.4 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.007176, allocations: 4 kB / 388.4 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.32e-05/0.007209, allocations: 97.22 kB / 388.5 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.00721, allocations: 0 / 388.5 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.112e-06/0.007211, allocations: 3.984 kB / 388.5 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.007212, allocations: 3.984 kB / 388.6 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-06/0.007216, allocations: 0 / 388.6 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.62e-07/0.007216, allocations: 4 kB / 388.6 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.007217, allocations: 0 / 388.6 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.754e-05/0.007264, allocations: 131.7 kB / 388.7 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.188e-06/0.007269, allocations: 12 kB / 388.7 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.606e-06/0.007277, allocations: 0 / 388.7 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.759e-06/0.007282, allocations: 4.031 kB / 388.7 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.725e-06/0.00729, allocations: 0 / 388.7 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.007292, allocations: 4 kB / 388.7 MB, free: 13.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.098e-05/0.007303, allocations: 119.2 kB / 388.8 MB, free: 13.49 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007303, allocations: 0 / 388.8 MB, free: 13.49 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004619/0.007765, allocations: 295.5 kB / 389.1 MB, free: 13.2 MB / 314.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.0008444/0.008609, allocations: 0.5138 MB / 389.6 MB, free: 12.7 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.013e-05/0.00868, allocations: 126.4 kB / 389.7 MB, free: 12.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.008681, allocations: 64 / 389.7 MB, free: 12.54 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.435e-05/0.008695, allocations: 96.78 kB / 389.8 MB, free: 12.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.355e-05/0.008779, allocations: 0 / 389.8 MB, free: 12.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001208/0.008899, allocations: 107.6 kB / 389.9 MB, free: 12.29 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.545e-05/0.008915, allocations: 55.22 kB / 390 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.839e-06/0.00892, allocations: 3.984 kB / 390 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.086e-05/0.00894, allocations: 70.2 kB / 390.1 MB, free: 12.14 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.008941, allocations: 4 kB / 390.1 MB, free: 12.13 MB / 314.7 MB Notification: Performance of Templates: time 0.008915/0.01786, allocations: 9.756 MB / 399.8 MB, free: 2.363 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.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: 4.361527693923563]