Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.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.0009307/0.0009307, 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.0009193/0.0009193, allocations: 165 kB / 24.56 MB, free: 16 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.9014/0.9014, allocations: 177.2 MB / 205 MB, free: 5.305 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.2257/0.2257, allocations: 34.26 MB / 295.7 MB, free: 0.7109 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.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 378 MB, free: 2.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.815e-05/2.984e-05, allocations: 5.688 kB / 378 MB, free: 2.695 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.0016/0.00163, allocations: 0.4969 MB / 378.5 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007885/0.009515, allocations: 4.694 MB / 383.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.741e-05/0.009532, allocations: 0 / 383.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.199e-05/0.009554, allocations: 0 / 383.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 7.013e-06/0.009561, allocations: 0 / 383.2 MB, free: 13.47 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:214:3-483:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.007207/0.01677, allocations: 3.263 MB / 386.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 3.732e-05/0.01681, allocations: 15.92 kB / 386.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.008e-05/0.01683, allocations: 0 / 386.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.818e-05/0.01684, allocations: 0 / 386.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.143e-05/0.01685, allocations: 8 kB / 386.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.498e-06/0.01686, allocations: 0 / 386.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01962/0.03648, allocations: 19.81 MB / 406.3 MB, free: 6.344 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.937e-06/0.03649, allocations: 0 / 406.3 MB, free: 6.344 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.954e-05/0.0365, allocations: 4 kB / 406.3 MB, free: 6.34 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02774/0.06424, allocations: 30.71 MB / 437 MB, free: 7.586 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.06425, allocations: 0 / 437 MB, free: 7.586 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.06425, allocations: 3.938 kB / 437 MB, free: 7.582 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.06426, allocations: 0 / 437 MB, free: 7.582 MB / 410.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.006232/0.07049, allocations: 0.7055 MB / 437.7 MB, free: 6.832 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.07053, allocations: 16.03 kB / 437.7 MB, free: 6.816 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/0.07058, allocations: 1.281 kB / 437.7 MB, free: 6.816 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.053e-05/0.07064, allocations: 108.2 kB / 437.9 MB, free: 6.684 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.07065, allocations: 4 kB / 437.9 MB, free: 6.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.07066, allocations: 4 kB / 437.9 MB, free: 6.676 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.182e-05/0.07075, allocations: 63.38 kB / 437.9 MB, free: 6.602 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.07076, allocations: 0 / 437.9 MB, free: 6.602 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.07077, allocations: 0 / 437.9 MB, free: 6.602 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.07078, allocations: 0 / 437.9 MB, free: 6.602 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.701e-05/0.07079, allocations: 25.7 kB / 437.9 MB, free: 6.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.466e-05/0.07088, allocations: 116.6 kB / 438.1 MB, free: 6.422 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.579e-05/0.07092, allocations: 52.7 kB / 438.1 MB, free: 6.352 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.313e-05/0.07095, allocations: 41.47 kB / 438.2 MB, free: 6.301 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.843e-06/0.07095, allocations: 0 / 438.2 MB, free: 6.301 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.07099, allocations: 63.09 kB / 438.2 MB, free: 6.223 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.07099, allocations: 0 / 438.2 MB, free: 6.223 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001855/0.07118, allocations: 126.7 kB / 438.3 MB, free: 6.074 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.07122, allocations: 77.11 kB / 438.4 MB, free: 5.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.246e-05/0.07126, allocations: 142.2 kB / 438.6 MB, free: 5.828 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.186e-06/0.07127, allocations: 25.83 kB / 438.6 MB, free: 5.797 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.859e-05/0.0713, allocations: 138.8 kB / 438.7 MB, free: 5.656 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.07132, allocations: 0 / 438.7 MB, free: 5.656 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/0.07134, allocations: 19.38 kB / 438.7 MB, free: 5.629 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.07145, allocations: 492.1 kB / 439.2 MB, free: 5.137 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.822e-05/0.07147, allocations: 29.7 kB / 439.2 MB, free: 5.102 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.176e-05/0.07148, allocations: 25.7 kB / 439.3 MB, free: 5.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.19e-05/0.07152, allocations: 67.08 kB / 439.3 MB, free: 4.988 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.07153, allocations: 3.938 kB / 439.3 MB, free: 4.984 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.425e-05/0.07158, allocations: 93.05 kB / 439.4 MB, free: 4.875 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.07161, allocations: 36.3 kB / 439.5 MB, free: 4.836 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.07161, allocations: 4 kB / 439.5 MB, free: 4.832 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.07162, allocations: 3.984 kB / 439.5 MB, free: 4.828 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.727e-06/0.07163, allocations: 0 / 439.5 MB, free: 4.828 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.07163, allocations: 4 kB / 439.5 MB, free: 4.824 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.396e-05/0.07165, allocations: 0 / 439.5 MB, free: 4.824 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.07165, allocations: 0 / 439.5 MB, free: 4.824 MB / 410.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.45e-05/0.07172, allocations: 186.2 kB / 439.7 MB, free: 4.625 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-06/0.07172, allocations: 0 / 439.7 MB, free: 4.625 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.625e-06/0.07173, allocations: 3 kB / 439.7 MB, free: 4.625 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.07173, allocations: 4 kB / 439.7 MB, free: 4.621 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.07173, allocations: 0 / 439.7 MB, free: 4.621 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.07174, allocations: 0 / 439.7 MB, free: 4.621 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.082e-05/0.07179, allocations: 116.6 kB / 439.8 MB, free: 4.473 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.07179, allocations: 3.938 kB / 439.8 MB, free: 4.469 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-07/0.07179, allocations: 0 / 439.8 MB, free: 4.469 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-07/0.07179, allocations: 0 / 439.8 MB, free: 4.469 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.0718, allocations: 0 / 439.8 MB, free: 4.469 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.0718, allocations: 4 kB / 439.8 MB, free: 4.465 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.0718, allocations: 0 / 439.8 MB, free: 4.465 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.591e-05/0.07187, allocations: 135.8 kB / 439.9 MB, free: 4.297 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-06/0.07188, allocations: 3.938 kB / 439.9 MB, free: 4.293 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.07189, allocations: 0 / 439.9 MB, free: 4.293 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.248e-06/0.07189, allocations: 4 kB / 439.9 MB, free: 4.289 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.084e-05/0.07191, allocations: 0 / 439.9 MB, free: 4.289 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-06/0.07191, allocations: 0 / 439.9 MB, free: 4.289 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.525e-05/0.07193, allocations: 119.2 kB / 440 MB, free: 4.172 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.07193, allocations: 3.938 kB / 440 MB, free: 4.168 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007443/0.07937, allocations: 3.791 MB / 443.8 MB, free: 384 kB / 410.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.1729/0.2522, allocations: 1.064 MB / 444.9 MB, free: 72.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001346/0.2524, allocations: 119.3 kB / 445 MB, free: 72.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2524, allocations: 0 / 445 MB, free: 72.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.059e-05/0.2524, allocations: 99.2 kB / 445.1 MB, free: 72.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.2525, allocations: 2.25 kB / 445.1 MB, free: 72.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001794/0.2527, allocations: 108.5 kB / 445.2 MB, free: 72.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.184e-05/0.2527, allocations: 60.05 kB / 445.3 MB, free: 72.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.523e-06/0.2527, allocations: 0 / 445.3 MB, free: 72.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.444e-05/0.2528, allocations: 13.16 kB / 445.3 MB, free: 72.24 MB / 410.7 MB Notification: Performance of SimCode: time 1.523e-06/0.2528, allocations: 0 / 445.3 MB, free: 72.24 MB / 410.7 MB Notification: Performance of Templates: time 0.126/0.3788, allocations: 124.9 MB / 0.5569 GB, free: 13.2 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 166.4275983851403]