Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001145/0.001145, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001851/0.002996, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001227/0.001227, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00157/0.002797, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9964/0.9964, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09488/1.091, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2535/0.2535, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02603/0.2795, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 290.6 MB, free: 7.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.469e-05/1.625e-05, allocations: 2.312 kB / 290.6 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.00103/0.001046, allocations: 0.5464 MB / 291.1 MB, free: 7.242 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002198/0.003244, allocations: 2.128 MB / 293.3 MB, free: 5.562 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.458e-05/0.003258, allocations: 2.938 kB / 293.3 MB, free: 5.562 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.987e-06/0.003262, allocations: 0 / 293.3 MB, free: 5.562 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.92e-07/0.003263, allocations: 0 / 293.3 MB, free: 5.562 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.001332/0.004595, allocations: 0.7063 MB / 294 MB, free: 4.922 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.04e-05/0.004655, allocations: 8.609 kB / 294 MB, free: 4.914 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.381e-05/0.004689, allocations: 0 / 294 MB, free: 4.914 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.216e-05/0.004721, allocations: 7.938 kB / 294 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.148e-05/0.004743, allocations: 0 / 294 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.474e-06/0.00475, allocations: 8 kB / 294 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/0.006233, allocations: 1.572 MB / 295.6 MB, free: 3.324 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.736e-06/0.006241, allocations: 4 kB / 295.6 MB, free: 3.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.434e-05/0.006256, allocations: 0 / 295.6 MB, free: 3.32 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.007451, allocations: 1.477 MB / 297.1 MB, free: 1.84 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.309e-05/0.007464, allocations: 0 / 297.1 MB, free: 1.84 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.007466, allocations: 0 / 297.1 MB, free: 1.84 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.00748, allocations: 4 kB / 297.1 MB, free: 1.836 MB / 282.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.0005703/0.00805, allocations: 425.4 kB / 297.5 MB, free: 1.391 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.008086, allocations: 12.03 kB / 297.5 MB, free: 1.379 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.008116, allocations: 0.9375 kB / 297.5 MB, free: 1.379 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.659e-05/0.008173, allocations: 109.7 kB / 297.6 MB, free: 1.246 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.008182, allocations: 384 / 297.6 MB, free: 1.246 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.47e-06/0.008188, allocations: 4.375 kB / 297.6 MB, free: 1.242 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.646e-05/0.008264, allocations: 55.95 kB / 297.7 MB, free: 1.176 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.008272, allocations: 7.938 kB / 297.7 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.47e-06/0.008278, allocations: 0 / 297.7 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.008282, allocations: 0 / 297.7 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.661e-05/0.008298, allocations: 29.7 kB / 297.7 MB, free: 1.133 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.987e-05/0.008358, allocations: 61.03 kB / 297.8 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.761e-05/0.008396, allocations: 48.25 kB / 297.8 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.484e-05/0.008411, allocations: 34.55 kB / 297.8 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-06/0.008415, allocations: 4 kB / 297.8 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.00845, allocations: 64.33 kB / 297.9 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.553e-06/0.008452, allocations: 3.984 kB / 297.9 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001074/0.008559, allocations: 110.8 kB / 298 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.008595, allocations: 85.05 kB / 298.1 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.022e-05/0.008625, allocations: 93.98 kB / 298.2 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.645e-06/0.008633, allocations: 25.7 kB / 298.2 MB, free: 0.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.898e-05/0.008652, allocations: 84.08 kB / 298.3 MB, free: 424 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.008669, allocations: 0 / 298.3 MB, free: 424 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.436e-05/0.008694, allocations: 13.72 kB / 298.3 MB, free: 404 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.631e-05/0.00877, allocations: 310.8 kB / 298.6 MB, free: 84 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.461e-05/0.008785, allocations: 33.7 kB / 298.6 MB, free: 44 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.213e-05/0.008797, allocations: 25.7 kB / 298.7 MB, free: 12 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.309e-05/0.00885, allocations: 68.25 kB / 298.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.008852, allocations: 0 / 298.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.542e-05/0.008897, allocations: 85.17 kB / 298.8 MB, free: 15.83 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/0.008931, allocations: 37.69 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.008935, allocations: 0 / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.22e-06/0.008941, allocations: 0 / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.408e-06/0.008945, allocations: 3.938 kB / 298.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.277e-06/0.008948, allocations: 3.938 kB / 298.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.651e-05/0.008965, allocations: 4.688 kB / 298.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-06/0.008971, allocations: 0 / 298.9 MB, free: 15.77 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 5.486e-05/0.009026, allocations: 131.5 kB / 299 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-06/0.00903, allocations: 8.031 kB / 299 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.134e-06/0.009037, allocations: 6.938 kB / 299 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.009038, allocations: 0 / 299 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.00904, allocations: 3.984 kB / 299 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.009046, allocations: 3.938 kB / 299 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.123e-05/0.009087, allocations: 65.89 kB / 299.1 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.009088, allocations: 0 / 299.1 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.009088, allocations: 0 / 299.1 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.366e-06/0.009091, allocations: 0 / 299.1 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.81e-07/0.009092, allocations: 0 / 299.1 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-06/0.009097, allocations: 4 kB / 299.1 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.009097, allocations: 4 kB / 299.1 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.009098, allocations: 0 / 299.1 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.129e-05/0.009169, allocations: 120.4 kB / 299.2 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.00918, allocations: 0 / 299.2 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.63e-06/0.009186, allocations: 4 kB / 299.2 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.789e-06/0.009195, allocations: 0 / 299.2 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.009198, allocations: 3.984 kB / 299.2 MB, free: 15.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.713e-06/0.009205, allocations: 4.859 kB / 299.2 MB, free: 15.36 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009205, allocations: 0 / 299.2 MB, free: 15.36 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005551/0.00976, allocations: 271.6 kB / 299.5 MB, free: 15.09 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.000913/0.01067, allocations: 442.8 kB / 299.9 MB, free: 14.69 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.532e-05/0.01076, allocations: 119.7 kB / 300 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.01076, allocations: 0 / 300 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.803e-05/0.01079, allocations: 89.95 kB / 300.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.642e-05/0.01084, allocations: 4 kB / 300.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001441/0.01098, allocations: 109.3 kB / 300.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.658e-05/0.01101, allocations: 55.34 kB / 300.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.201e-06/0.01101, allocations: 0 / 300.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.01104, allocations: 59.5 kB / 300.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.01104, allocations: 0 / 300.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of Templates: time 0.01121/0.02225, allocations: 9.396 MB / 309.7 MB, free: 4.754 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.573044155724347]