Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001038/0.001038, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001492/0.001492, allocations: 168.7 kB / 24.91 MB, free: 9.199 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.9539/0.9539, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.2881/0.2881, allocations: 32.8 MB / 294.6 MB, free: 1.254 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.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 323.2 MB, free: 9.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.344e-05/4.549e-05, allocations: 5.578 kB / 323.2 MB, free: 9.727 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001657/0.001703, allocations: 0.498 MB / 323.7 MB, free: 9.227 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005936/0.007639, allocations: 4.678 MB / 328.4 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.844e-05/0.007657, allocations: 0 / 328.4 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.41e-05/0.007671, allocations: 4 kB / 328.4 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.333e-06/0.007678, allocations: 0 / 328.4 MB, free: 4.516 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.004738/0.01242, allocations: 3.354 MB / 331.7 MB, free: 1.156 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.731e-05/0.01246, allocations: 4 kB / 331.7 MB, free: 1.152 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.009e-05/0.0125, allocations: 11.98 kB / 331.7 MB, free: 1.141 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.268e-05/0.01254, allocations: 0 / 331.7 MB, free: 1.141 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.778e-05/0.01255, allocations: 0 / 331.7 MB, free: 1.141 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.344e-06/0.01256, allocations: 0 / 331.7 MB, free: 1.141 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0197/0.03226, allocations: 19.5 MB / 351.2 MB, free: 13.62 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.056e-05/0.03228, allocations: 0 / 351.2 MB, free: 13.62 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.781e-05/0.03229, allocations: 0 / 351.2 MB, free: 13.62 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03141/0.0637, allocations: 30.75 MB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.06371, allocations: 0 / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.06371, allocations: 4 kB / 382 MB, free: 14.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.06372, allocations: 0 / 382 MB, free: 14.81 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.009045/0.07276, allocations: 0.5853 MB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.07281, allocations: 11.97 kB / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.07284, allocations: 0.9375 kB / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.702e-05/0.07291, allocations: 113.3 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.07292, allocations: 3.938 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.07292, allocations: 0 / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.165e-05/0.073, allocations: 55.41 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.073, allocations: 0 / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.26e-06/0.07301, allocations: 4 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.07301, allocations: 0 / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.324e-05/0.07302, allocations: 29.7 kB / 382.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.178e-05/0.07309, allocations: 53.05 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.083e-05/0.07314, allocations: 56.23 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.507e-05/0.07315, allocations: 34.5 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.436e-06/0.07315, allocations: 0 / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.07319, allocations: 60.33 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 6.01e-07/0.07319, allocations: 0 / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001062/0.07329, allocations: 110.8 kB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.07333, allocations: 81.23 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.785e-05/0.07336, allocations: 93.86 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.872e-06/0.07336, allocations: 25.7 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.768e-05/0.07338, allocations: 80.14 kB / 383.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.07339, allocations: 4.297 kB / 383.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/0.07341, allocations: 13.72 kB / 383.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.675e-05/0.07348, allocations: 318.8 kB / 383.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.183e-05/0.07349, allocations: 25.7 kB / 383.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.283e-05/0.0735, allocations: 37.69 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.904e-05/0.07354, allocations: 60.33 kB / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.07355, allocations: 4 kB / 383.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.166e-05/0.07359, allocations: 85.05 kB / 383.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.07361, allocations: 33.69 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.07362, allocations: 0 / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.07363, allocations: 7.984 kB / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.236e-06/0.07363, allocations: 0 / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.07364, allocations: 0 / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.139e-05/0.07365, allocations: 3.938 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.07365, allocations: 0 / 384 MB, free: 12.59 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.047e-05/0.07371, allocations: 143.5 kB / 384.1 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.669e-06/0.07372, allocations: 3.938 kB / 384.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.564e-06/0.07372, allocations: 3 kB / 384.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.07373, allocations: 0 / 384.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.07373, allocations: 7.984 kB / 384.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.07373, allocations: 0 / 384.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.043e-05/0.07377, allocations: 57.91 kB / 384.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.07377, allocations: 0 / 384.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.1e-07/0.07377, allocations: 0 / 384.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.71e-07/0.07377, allocations: 0 / 384.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.778e-06/0.07378, allocations: 7.938 kB / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.07378, allocations: 8 kB / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.07378, allocations: 0 / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.873e-05/0.07384, allocations: 112.5 kB / 384.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-06/0.07384, allocations: 4 kB / 384.3 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.07385, allocations: 7.875 kB / 384.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.088e-06/0.07386, allocations: 0 / 384.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.114e-06/0.07386, allocations: 0 / 384.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-06/0.07387, allocations: 0 / 384.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.744e-06/0.07387, allocations: 12.84 kB / 384.3 MB, free: 12.17 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.07387, allocations: 0 / 384.3 MB, free: 12.17 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.009941/0.08382, allocations: 3.783 MB / 388.1 MB, free: 8.383 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.01434/0.09816, allocations: 1.058 MB / 389.2 MB, free: 7.355 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.09829, allocations: 119.7 kB / 389.3 MB, free: 7.211 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.0983, allocations: 0 / 389.3 MB, free: 7.211 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.638e-05/0.09837, allocations: 89.91 kB / 389.4 MB, free: 7.102 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.303e-05/0.09843, allocations: 2.812 kB / 389.4 MB, free: 7.102 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001768/0.0986, allocations: 117.3 kB / 389.5 MB, free: 6.953 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.709e-05/0.09863, allocations: 55.48 kB / 389.5 MB, free: 6.879 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.722e-06/0.09864, allocations: 4 kB / 389.5 MB, free: 6.875 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.09867, allocations: 51.38 kB / 389.6 MB, free: 6.824 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.09867, allocations: 0 / 389.6 MB, free: 6.824 MB / 362.7 MB Notification: Performance of Templates: time 0.2652/0.3639, allocations: 110.6 MB / 0.4884 GB, free: 32.89 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 171.2914815931581]