Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001911/0.001911, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002133/0.002133, allocations: 161.6 kB / 24.27 MB, free: 152 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 1.573/1.573, allocations: 177.2 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.3349/0.3349, allocations: 32.8 MB / 293.9 MB, free: 1.215 MB / 266.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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 375.2 MB, free: 5.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.909e-05/4.188e-05, allocations: 9.688 kB / 375.2 MB, free: 5.012 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001657/0.001699, allocations: 0.4931 MB / 375.7 MB, free: 4.516 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002833/0.004531, allocations: 1.541 MB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.455e-05/0.004556, allocations: 3.938 kB / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.344e-05/0.004569, allocations: 0 / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.783e-06/0.004576, allocations: 0 / 377.3 MB, free: 2.949 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.001204/0.00578, allocations: 243.3 kB / 377.5 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.644e-05/0.005826, allocations: 4 kB / 377.5 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.828e-05/0.005864, allocations: 7.922 kB / 377.5 MB, free: 2.699 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.476e-05/0.005899, allocations: 4 kB / 377.5 MB, free: 2.695 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.433e-05/0.005923, allocations: 3.984 kB / 377.5 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.103e-06/0.00593, allocations: 0 / 377.5 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.007138, allocations: 0.683 MB / 378.2 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.943e-06/0.007145, allocations: 0 / 378.2 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.843e-05/0.007164, allocations: 0 / 378.2 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.008223, allocations: 0.7447 MB / 379 MB, free: 1.262 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.008226, allocations: 7.938 kB / 379 MB, free: 1.254 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.008227, allocations: 4 kB / 379 MB, free: 1.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.008233, allocations: 0 / 379 MB, free: 1.25 MB / 346.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.0005152/0.008748, allocations: 389.9 kB / 379.4 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.008788, allocations: 8.031 kB / 379.4 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.008832, allocations: 4.922 kB / 379.4 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.008937, allocations: 112.6 kB / 379.5 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.008948, allocations: 384 / 379.5 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.008956, allocations: 384 / 379.5 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.009082, allocations: 55.97 kB / 379.5 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.00909, allocations: 192 / 379.5 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.0091, allocations: 4.375 kB / 379.5 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.009108, allocations: 7.938 kB / 379.5 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.005e-05/0.009148, allocations: 25.7 kB / 379.6 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.009297, allocations: 116.6 kB / 379.7 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.218e-05/0.009389, allocations: 60.73 kB / 379.7 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.316e-05/0.009433, allocations: 37.38 kB / 379.8 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-06/0.009442, allocations: 0 / 379.8 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.893e-05/0.009511, allocations: 63.16 kB / 379.8 MB, free: 224 kB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.009512, allocations: 0 / 379.8 MB, free: 224 kB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.000256/0.009767, allocations: 118.8 kB / 380 MB, free: 80 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.009873, allocations: 81.17 kB / 380 MB, free: 15.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.009982, allocations: 150.2 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.01, allocations: 25.7 kB / 380.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.579e-05/0.01007, allocations: 126.9 kB / 380.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.01009, allocations: 4 kB / 380.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.01012, allocations: 15.38 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002763/0.0104, allocations: 0.4884 MB / 380.8 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.136e-05/0.01043, allocations: 29.7 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.423e-05/0.01046, allocations: 25.7 kB / 380.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.616e-05/0.01053, allocations: 67.03 kB / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.01053, allocations: 4.062 kB / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001127/0.01065, allocations: 93.09 kB / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/0.01068, allocations: 29.7 kB / 381.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.01069, allocations: 4 kB / 381.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.0107, allocations: 3.938 kB / 381.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.0107, allocations: 0 / 381.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.01071, allocations: 3.938 kB / 381.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.462e-05/0.01073, allocations: 0 / 381.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.01073, allocations: 0 / 381.1 MB, free: 14.82 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 0.0001598/0.01089, allocations: 182.3 kB / 381.3 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.01091, allocations: 11.97 kB / 381.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.105e-05/0.01092, allocations: 7 kB / 381.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.01092, allocations: 0 / 381.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.01092, allocations: 0 / 381.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.01093, allocations: 3.938 kB / 381.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.01104, allocations: 108.6 kB / 381.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.01104, allocations: 0 / 381.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.01104, allocations: 0 / 381.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.01104, allocations: 4 kB / 381.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.01105, allocations: 0 / 381.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.01105, allocations: 0 / 381.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.01105, allocations: 4 kB / 381.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.0112, allocations: 135.7 kB / 381.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.074e-06/0.01121, allocations: 4 kB / 381.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.01122, allocations: 3.984 kB / 381.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.45e-05/0.01124, allocations: 8 kB / 381.6 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.352e-05/0.01125, allocations: 0 / 381.6 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.01126, allocations: 4 kB / 381.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.577e-05/0.01132, allocations: 123.1 kB / 381.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01132, allocations: 0 / 381.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004236/0.01174, allocations: 119.8 kB / 381.8 MB, free: 14.04 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.0007769/0.01252, allocations: 178.2 kB / 382 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001771/0.0127, allocations: 122.5 kB / 382.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.0127, allocations: 0 / 382.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.166e-05/0.01278, allocations: 92.78 kB / 382.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.01291, allocations: 13.81 kB / 382.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002438/0.01315, allocations: 109.7 kB / 382.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.841e-05/0.01321, allocations: 55.34 kB / 382.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.33e-06/0.01321, allocations: 0 / 382.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.726e-05/0.01323, allocations: 12.5 kB / 382.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01323, allocations: 0 / 382.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of Templates: time 0.008941/0.02217, allocations: 4.071 MB / 386.4 MB, free: 9.281 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.98767398390919]