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.001/0.001, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009768/0.0009768, allocations: 161 kB / 24.55 MB, free: 20 kB / 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.9563/0.9563, allocations: 177.1 MB / 205 MB, free: 5.629 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.2458/0.2458, allocations: 34.27 MB / 295.7 MB, free: 0.7031 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.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.432e-06/1.432e-06, allocations: 3.938 kB / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.359e-05/1.502e-05, allocations: 2.312 kB / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.0008967/0.0009117, allocations: 0.4969 MB / 378.5 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.002941, allocations: 2.122 MB / 380.6 MB, free: 8 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.766e-05/0.002959, allocations: 0 / 380.6 MB, free: 8 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.75e-05/0.002976, allocations: 0 / 380.6 MB, free: 8 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.841e-06/0.002982, allocations: 4 kB / 380.6 MB, free: 4 kB / 346.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.001306/0.004288, allocations: 0.7596 MB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.85e-05/0.004337, allocations: 4 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.218e-05/0.004369, allocations: 0 / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.49e-05/0.004394, allocations: 0 / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.748e-05/0.004412, allocations: 4 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.555e-06/0.004419, allocations: 3.984 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.00578, allocations: 1.556 MB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.153e-06/0.005787, allocations: 0 / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.714e-05/0.005804, allocations: 0 / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.007104, allocations: 1.871 MB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.007107, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.007108, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.317e-06/0.007111, allocations: 4 kB / 384.8 MB, free: 11.79 MB / 362.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.000465/0.007576, allocations: 461.3 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.007609, allocations: 8.031 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.113e-05/0.007641, allocations: 8.938 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.991e-05/0.007691, allocations: 108.6 kB / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.007701, allocations: 384 / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.00771, allocations: 4.375 kB / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.559e-05/0.007786, allocations: 55.97 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.007794, allocations: 3.938 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.007801, allocations: 0 / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.007807, allocations: 0 / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.911e-05/0.007826, allocations: 37.62 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.595e-05/0.007902, allocations: 104.6 kB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.857e-05/0.00794, allocations: 56.8 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.898e-05/0.007959, allocations: 37.39 kB / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.338e-06/0.007964, allocations: 4.062 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.007993, allocations: 59.09 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 6.11e-07/0.007994, allocations: 0 / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001612/0.008155, allocations: 122.7 kB / 385.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.00819, allocations: 77.11 kB / 386 MB, free: 10.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.196e-05/0.008232, allocations: 146.2 kB / 386.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.694e-06/0.00824, allocations: 29.7 kB / 386.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.016e-05/0.00827, allocations: 127 kB / 386.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.008288, allocations: 8.297 kB / 386.3 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.43e-05/0.008312, allocations: 19.36 kB / 386.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002931/0.008605, allocations: 496.1 kB / 386.8 MB, free: 9.609 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.823e-05/0.008624, allocations: 25.7 kB / 386.8 MB, free: 9.578 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.13e-05/0.008635, allocations: 25.7 kB / 386.8 MB, free: 9.547 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.451e-05/0.008679, allocations: 67.09 kB / 386.9 MB, free: 9.465 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.008682, allocations: 3.938 kB / 386.9 MB, free: 9.461 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.018e-05/0.008742, allocations: 89.09 kB / 387 MB, free: 9.355 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.008766, allocations: 33.8 kB / 387 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.008772, allocations: 4 kB / 387 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.008785, allocations: 3.938 kB / 387 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.436e-06/0.008789, allocations: 0 / 387 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.008794, allocations: 3.938 kB / 387 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.063e-05/0.008805, allocations: 0 / 387 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.008811, allocations: 0 / 387 MB, free: 9.305 MB / 362.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 6.651e-05/0.008877, allocations: 186.3 kB / 387.2 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-06/0.008883, allocations: 4 kB / 387.2 MB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.048e-05/0.008893, allocations: 7 kB / 387.2 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.008896, allocations: 3.938 kB / 387.2 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.008899, allocations: 4 kB / 387.2 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.008901, allocations: 0 / 387.2 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.911e-05/0.00895, allocations: 104.6 kB / 387.3 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.008951, allocations: 0 / 387.3 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-06/0.008953, allocations: 7.984 kB / 387.3 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.008955, allocations: 3.984 kB / 387.3 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.00896, allocations: 0 / 387.3 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.4e-07/0.00896, allocations: 3.938 kB / 387.3 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.008962, allocations: 3.938 kB / 387.3 MB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.039e-05/0.009032, allocations: 127.8 kB / 387.5 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-06/0.009037, allocations: 12.03 kB / 387.5 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.009049, allocations: 4 kB / 387.5 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.238e-06/0.009054, allocations: 0 / 387.5 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.133e-05/0.009065, allocations: 3.938 kB / 387.5 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.009066, allocations: 0 / 387.5 MB, free: 8.754 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.476e-05/0.009091, allocations: 123.2 kB / 387.6 MB, free: 8.633 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009091, allocations: 0 / 387.6 MB, free: 8.633 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004718/0.009563, allocations: 291.6 kB / 387.9 MB, free: 8.348 MB / 362.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.0009131/0.01048, allocations: 0.5222 MB / 388.4 MB, free: 7.836 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001044/0.01058, allocations: 122.4 kB / 388.5 MB, free: 7.688 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.01058, allocations: 4 kB / 388.5 MB, free: 7.684 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.942e-05/0.01061, allocations: 88.78 kB / 388.6 MB, free: 7.574 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.121e-05/0.0107, allocations: 4 kB / 388.6 MB, free: 7.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001788/0.01088, allocations: 117.6 kB / 388.7 MB, free: 7.418 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.922e-05/0.01091, allocations: 51.36 kB / 388.8 MB, free: 7.348 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.879e-06/0.01092, allocations: 0 / 388.8 MB, free: 7.348 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.327e-05/0.01093, allocations: 12.5 kB / 388.8 MB, free: 7.336 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01093, allocations: 0 / 388.8 MB, free: 7.336 MB / 362.7 MB Notification: Performance of Templates: time 0.007755/0.01868, allocations: 7.542 MB / 396.4 MB, free: 15.79 MB / 378.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] [Calling os._exit(0), Time elapsed: 3.2474725977517664]