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.001683/0.001683, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002027/0.002027, allocations: 169.3 kB / 24.27 MB, free: 144 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.518/1.518, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.354/0.354, allocations: 34.26 MB / 295.3 MB, free: 0.6758 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.964e-06/1.964e-06, allocations: 0 / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.27e-05/3.467e-05, allocations: 2.312 kB / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.002271/0.002306, allocations: 0.4893 MB / 377.8 MB, free: 2.484 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005533/0.007838, allocations: 2.079 MB / 379.8 MB, free: 392 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.007862, allocations: 0 / 379.8 MB, free: 392 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.847e-05/0.007881, allocations: 3.938 kB / 379.8 MB, free: 388 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.843e-06/0.007888, allocations: 4 kB / 379.8 MB, free: 384 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.003953/0.01184, allocations: 0.7518 MB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.998e-05/0.0119, allocations: 0 / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.071e-05/0.01194, allocations: 0 / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.777e-05/0.01198, allocations: 4 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.238e-05/0.012, allocations: 0 / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.718e-06/0.01201, allocations: 0 / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004172/0.01618, allocations: 1.56 MB / 382.2 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.518e-06/0.01619, allocations: 0 / 382.2 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.032e-05/0.01622, allocations: 0 / 382.2 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004142/0.02037, allocations: 1.863 MB / 384 MB, free: 12.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.135e-05/0.02038, allocations: 3.984 kB / 384 MB, free: 12.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.02038, allocations: 0 / 384 MB, free: 12.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.02038, allocations: 0 / 384 MB, free: 12.18 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.001221/0.02161, allocations: 363.3 kB / 384.4 MB, free: 11.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.02166, allocations: 8.031 kB / 384.4 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.696e-05/0.02174, allocations: 12.94 kB / 384.4 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.02188, allocations: 101.8 kB / 384.5 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.02189, allocations: 384 / 384.5 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.0219, allocations: 384 / 384.5 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.02206, allocations: 55.97 kB / 384.6 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.02208, allocations: 3.938 kB / 384.6 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.02209, allocations: 0 / 384.6 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.02209, allocations: 0 / 384.6 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.336e-05/0.02217, allocations: 33.69 kB / 384.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001979/0.02236, allocations: 105.2 kB / 384.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.02248, allocations: 52.31 kB / 384.7 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.843e-05/0.02253, allocations: 30.56 kB / 384.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.02255, allocations: 3.984 kB / 384.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.59e-05/0.02265, allocations: 60.33 kB / 384.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.673e-06/0.02265, allocations: 0 / 384.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0003626/0.02301, allocations: 126.7 kB / 385 MB, free: 11.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.02312, allocations: 77.11 kB / 385 MB, free: 10.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.794e-05/0.02322, allocations: 89.86 kB / 385.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.02326, allocations: 25.7 kB / 385.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.373e-05/0.02332, allocations: 80.14 kB / 385.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.02334, allocations: 8.125 kB / 385.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.334e-05/0.0234, allocations: 13.7 kB / 385.2 MB, free: 10.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000256/0.02365, allocations: 310.8 kB / 385.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.241e-05/0.0237, allocations: 33.7 kB / 385.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.02e-05/0.02374, allocations: 25.7 kB / 385.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.02385, allocations: 60.27 kB / 385.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.02386, allocations: 0 / 385.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001888/0.02405, allocations: 101 kB / 385.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.081e-05/0.02411, allocations: 29.7 kB / 385.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.02411, allocations: 4.094 kB / 385.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.02414, allocations: 7.938 kB / 385.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/0.02414, allocations: 0 / 385.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.02414, allocations: 0 / 385.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.679e-05/0.02417, allocations: 3.953 kB / 385.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.02418, allocations: 0 / 385.8 MB, free: 10.12 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.0001733/0.02435, allocations: 139.5 kB / 385.9 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.02437, allocations: 0 / 385.9 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.161e-05/0.02438, allocations: 3 kB / 386 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.02439, allocations: 7.938 kB / 386 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.0244, allocations: 4 kB / 386 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.0244, allocations: 0 / 386 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.02454, allocations: 93.33 kB / 386.1 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.02455, allocations: 0 / 386.1 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.822e-06/0.02455, allocations: 3.984 kB / 386.1 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.02456, allocations: 4 kB / 386.1 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.02457, allocations: 0 / 386.1 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.02457, allocations: 0 / 386.1 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.02458, allocations: 3.938 kB / 386.1 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.02481, allocations: 120.5 kB / 386.2 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.244e-06/0.02481, allocations: 0 / 386.2 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.02484, allocations: 8.031 kB / 386.2 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.676e-05/0.02485, allocations: 0 / 386.2 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.02488, allocations: 7.938 kB / 386.2 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.02489, allocations: 4 kB / 386.2 MB, free: 9.652 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.147e-05/0.02495, allocations: 75.28 kB / 386.3 MB, free: 9.578 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.02495, allocations: 0 / 386.3 MB, free: 9.578 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001625/0.02658, allocations: 295.6 kB / 386.6 MB, free: 9.289 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.003064/0.02964, allocations: 0.5193 MB / 387.1 MB, free: 8.781 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002333/0.02988, allocations: 114.8 kB / 387.2 MB, free: 8.645 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.02988, allocations: 4.062 kB / 387.2 MB, free: 8.641 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.02999, allocations: 85.09 kB / 387.3 MB, free: 8.539 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.03021, allocations: 4 kB / 387.3 MB, free: 8.535 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003607/0.03057, allocations: 111.9 kB / 387.4 MB, free: 8.391 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.291e-05/0.03065, allocations: 51.36 kB / 387.4 MB, free: 8.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.324e-06/0.03066, allocations: 0 / 387.4 MB, free: 8.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.03069, allocations: 16.48 kB / 387.5 MB, free: 8.305 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.03069, allocations: 0 / 387.5 MB, free: 8.305 MB / 362.7 MB Notification: Performance of Templates: time 0.02627/0.05696, allocations: 7.417 MB / 394.9 MB, free: 0.8789 MB / 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.036669229972176]