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.001014/0.001014, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001108/0.001108, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.9538/0.9538, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2653/0.2653, allocations: 34.26 MB / 296 MB, free: 0.7656 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.843e-06/1.843e-06, allocations: 0 / 378 MB, free: 3.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.197e-05, allocations: 2.312 kB / 378 MB, free: 3.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001115/0.001137, allocations: 0.5046 MB / 378.5 MB, free: 2.496 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002424/0.003562, allocations: 2.114 MB / 380.6 MB, free: 368 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.525e-05/0.003587, allocations: 0 / 380.6 MB, free: 368 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.784e-05/0.003605, allocations: 4 kB / 380.6 MB, free: 364 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.284e-06/0.003612, allocations: 0 / 380.6 MB, free: 364 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.001486/0.005098, allocations: 0.7479 MB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.704e-05/0.005155, allocations: 15.94 kB / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.725e-05/0.005193, allocations: 3.984 kB / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.605e-05/0.005219, allocations: 0 / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.727e-05/0.005236, allocations: 0 / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.913e-06/0.005243, allocations: 0 / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.006825, allocations: 1.548 MB / 382.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.01e-05/0.006835, allocations: 8 kB / 382.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.881e-05/0.006854, allocations: 0 / 382.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.008386, allocations: 1.863 MB / 384.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.008389, allocations: 7.938 kB / 384.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.00839, allocations: 0 / 384.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.008394, allocations: 0 / 384.8 MB, free: 12.15 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.0005041/0.008898, allocations: 461.3 kB / 385.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.008935, allocations: 8.031 kB / 385.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.008971, allocations: 0.9375 kB / 385.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.099e-05/0.009032, allocations: 116.6 kB / 385.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001526/0.009185, allocations: 4.375 kB / 385.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.759e-06/0.009194, allocations: 8.359 kB / 385.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.395e-05/0.009278, allocations: 55.97 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.009285, allocations: 3.938 kB / 385.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.009293, allocations: 0 / 385.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.009301, allocations: 0 / 385.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.888e-05/0.00932, allocations: 33.64 kB / 385.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.839e-05/0.009408, allocations: 104.6 kB / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.179e-05/0.00945, allocations: 56.78 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.973e-05/0.009469, allocations: 37.39 kB / 385.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.847e-06/0.009473, allocations: 0 / 385.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.009507, allocations: 67.16 kB / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.009508, allocations: 0 / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001659/0.009674, allocations: 122.7 kB / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.009713, allocations: 81.05 kB / 385.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.007e-05/0.009753, allocations: 142.2 kB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.769e-06/0.009763, allocations: 29.7 kB / 386.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.517e-05/0.009788, allocations: 130.9 kB / 386.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.009804, allocations: 8.297 kB / 386.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/0.009826, allocations: 15.38 kB / 386.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.009929, allocations: 492.1 kB / 386.7 MB, free: 9.965 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.734e-05/0.009947, allocations: 33.83 kB / 386.8 MB, free: 9.926 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.233e-05/0.009959, allocations: 29.69 kB / 386.8 MB, free: 9.891 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.22e-05/0.01, allocations: 67.09 kB / 386.9 MB, free: 9.809 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01, allocations: 0 / 386.9 MB, free: 9.809 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.574e-05/0.01006, allocations: 89.05 kB / 387 MB, free: 9.703 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.01008, allocations: 35.56 kB / 387 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.01009, allocations: 0 / 387 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.0101, allocations: 3.938 kB / 387 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.813e-06/0.0101, allocations: 4 kB / 387 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.01011, allocations: 4.094 kB / 387 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.498e-06/0.01012, allocations: 0 / 387 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.01012, allocations: 0 / 387 MB, free: 9.652 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.351e-05/0.01018, allocations: 182.3 kB / 387.2 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-06/0.01019, allocations: 0 / 387.2 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.568e-06/0.0102, allocations: 7 kB / 387.2 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.0102, allocations: 3.938 kB / 387.2 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.01021, allocations: 3.984 kB / 387.2 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.01021, allocations: 4 kB / 387.2 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.377e-05/0.01026, allocations: 104.6 kB / 387.3 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.01026, allocations: 4 kB / 387.3 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.01026, allocations: 0 / 387.3 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.81e-07/0.01027, allocations: 0 / 387.3 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.01027, allocations: 4 kB / 387.3 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.01027, allocations: 0 / 387.3 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01028, allocations: 3.938 kB / 387.3 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.979e-05/0.01035, allocations: 131.8 kB / 387.4 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-06/0.01036, allocations: 4 kB / 387.4 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.01038, allocations: 4 kB / 387.5 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.248e-06/0.01038, allocations: 4 kB / 387.5 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.257e-05/0.01039, allocations: 11.91 kB / 387.5 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.01039, allocations: 3.984 kB / 387.5 MB, free: 9.102 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.591e-05/0.01042, allocations: 119.2 kB / 387.6 MB, free: 8.984 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01042, allocations: 0 / 387.6 MB, free: 8.984 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005638/0.01098, allocations: 291.6 kB / 387.9 MB, free: 8.699 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.0009999/0.01198, allocations: 0.5203 MB / 388.4 MB, free: 8.191 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.01209, allocations: 122.4 kB / 388.5 MB, free: 8.043 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.01209, allocations: 0 / 388.5 MB, free: 8.043 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.192e-05/0.01213, allocations: 88.8 kB / 388.6 MB, free: 7.934 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.645e-05/0.01222, allocations: 8.125 kB / 388.6 MB, free: 7.926 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001984/0.01242, allocations: 121.6 kB / 388.7 MB, free: 7.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.143e-05/0.01245, allocations: 51.36 kB / 388.8 MB, free: 7.699 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.841e-06/0.01246, allocations: 0 / 388.8 MB, free: 7.699 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.405e-05/0.01247, allocations: 8.5 kB / 388.8 MB, free: 7.691 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01247, allocations: 0 / 388.8 MB, free: 7.691 MB / 362.7 MB Notification: Performance of Templates: time 0.009532/0.02201, allocations: 7.536 MB / 396.3 MB, free: 156 kB / 362.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.1740456679835916]