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.001472/0.001472, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001626/0.001626, allocations: 161.7 kB / 24.27 MB, free: 172 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.515/1.515, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.355/0.355, allocations: 32.8 MB / 293.9 MB, free: 1.191 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 1.513e-06/1.513e-06, allocations: 0 / 375.2 MB, free: 5.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.205e-05, allocations: 2.312 kB / 375.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001917/0.001949, allocations: 0.4923 MB / 375.7 MB, free: 4.512 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.009097/0.01105, allocations: 4.58 MB / 380.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.006e-05/0.01107, allocations: 0 / 380.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.365e-05/0.01108, allocations: 0 / 380.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 6.292e-06/0.01109, allocations: 0 / 380.3 MB, free: 15.9 MB / 362.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.0102/0.02128, allocations: 3.271 MB / 383.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.344e-05/0.02134, allocations: 4 kB / 383.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.637e-05/0.02137, allocations: 0 / 383.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.509e-05/0.0214, allocations: 0 / 383.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.278e-05/0.02142, allocations: 4 kB / 383.6 MB, free: 12.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.244e-06/0.02143, allocations: 0 / 383.6 MB, free: 12.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03417/0.0556, allocations: 19.81 MB / 403.4 MB, free: 8.781 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.05561, allocations: 0 / 403.4 MB, free: 8.781 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.257e-05/0.05564, allocations: 0 / 403.4 MB, free: 8.781 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.05038/0.106, allocations: 30.71 MB / 434.1 MB, free: 10.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.106, allocations: 0 / 434.1 MB, free: 10.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.106, allocations: 0 / 434.1 MB, free: 10.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.106, allocations: 0 / 434.1 MB, free: 10.02 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.008011/0.114, allocations: 0.5905 MB / 434.7 MB, free: 9.391 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.1141, allocations: 12.03 kB / 434.7 MB, free: 9.379 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.565e-05/0.1142, allocations: 4.922 kB / 434.7 MB, free: 9.375 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.1143, allocations: 117.3 kB / 434.8 MB, free: 9.234 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.1143, allocations: 4 kB / 434.8 MB, free: 9.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-06/0.1143, allocations: 0 / 434.8 MB, free: 9.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.1144, allocations: 55.41 kB / 434.9 MB, free: 9.164 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.1144, allocations: 0 / 434.9 MB, free: 9.164 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.1144, allocations: 3.938 kB / 434.9 MB, free: 9.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.1144, allocations: 3.984 kB / 434.9 MB, free: 9.156 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.857e-05/0.1145, allocations: 25.7 kB / 434.9 MB, free: 9.125 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.1146, allocations: 105.2 kB / 435 MB, free: 8.992 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.099e-05/0.1147, allocations: 48.22 kB / 435.1 MB, free: 8.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.596e-05/0.1147, allocations: 38.66 kB / 435.1 MB, free: 8.883 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-06/0.1147, allocations: 0 / 435.1 MB, free: 8.883 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.672e-05/0.1148, allocations: 56.27 kB / 435.2 MB, free: 8.812 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.1148, allocations: 0 / 435.2 MB, free: 8.812 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002488/0.115, allocations: 118.8 kB / 435.3 MB, free: 8.672 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/0.1151, allocations: 81.11 kB / 435.4 MB, free: 8.574 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.304e-05/0.1152, allocations: 89.86 kB / 435.4 MB, free: 8.477 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.1152, allocations: 25.7 kB / 435.5 MB, free: 8.445 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.38e-05/0.1152, allocations: 80.14 kB / 435.6 MB, free: 8.363 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.1153, allocations: 11.83 kB / 435.6 MB, free: 8.352 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.1153, allocations: 17.84 kB / 435.6 MB, free: 8.328 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.1155, allocations: 314.8 kB / 435.9 MB, free: 8.012 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.037e-05/0.1155, allocations: 25.7 kB / 435.9 MB, free: 7.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.804e-05/0.1155, allocations: 33.7 kB / 435.9 MB, free: 7.941 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.323e-05/0.1156, allocations: 60.27 kB / 436 MB, free: 7.867 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.1156, allocations: 3.938 kB / 436 MB, free: 7.863 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001139/0.1157, allocations: 89.09 kB / 436.1 MB, free: 7.758 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.296e-05/0.1158, allocations: 33.7 kB / 436.1 MB, free: 7.719 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1158, allocations: 0 / 436.1 MB, free: 7.719 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.1158, allocations: 4.094 kB / 436.1 MB, free: 7.715 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.413e-06/0.1158, allocations: 0 / 436.1 MB, free: 7.715 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.1158, allocations: 7.938 kB / 436.1 MB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.793e-05/0.1158, allocations: 0 / 436.1 MB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.1158, allocations: 0 / 436.1 MB, free: 7.707 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 0.0001268/0.116, allocations: 139.5 kB / 436.3 MB, free: 7.555 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.116, allocations: 3.984 kB / 436.3 MB, free: 7.551 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.488e-06/0.116, allocations: 3 kB / 436.3 MB, free: 7.551 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.116, allocations: 0 / 436.3 MB, free: 7.551 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.116, allocations: 0 / 436.3 MB, free: 7.551 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.116, allocations: 4 kB / 436.3 MB, free: 7.547 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.1161, allocations: 97.33 kB / 436.4 MB, free: 7.422 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1161, allocations: 7.875 kB / 436.4 MB, free: 7.414 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.62e-07/0.1161, allocations: 0 / 436.4 MB, free: 7.414 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1161, allocations: 4 kB / 436.4 MB, free: 7.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.1161, allocations: 0 / 436.4 MB, free: 7.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1161, allocations: 4 kB / 436.4 MB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1161, allocations: 0 / 436.4 MB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.1163, allocations: 120.5 kB / 436.5 MB, free: 7.258 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-06/0.1163, allocations: 3.938 kB / 436.5 MB, free: 7.254 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.1163, allocations: 3.984 kB / 436.5 MB, free: 7.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.521e-05/0.1163, allocations: 8.031 kB / 436.5 MB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.492e-05/0.1163, allocations: 0 / 436.5 MB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.1163, allocations: 0 / 436.5 MB, free: 7.242 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.424e-05/0.1164, allocations: 75.28 kB / 436.6 MB, free: 7.168 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1164, allocations: 0 / 436.6 MB, free: 7.168 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01147/0.1279, allocations: 3.787 MB / 440.4 MB, free: 3.379 MB / 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.02051/0.1484, allocations: 1.061 MB / 441.5 MB, free: 2.336 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001985/0.1486, allocations: 118.8 kB / 441.6 MB, free: 2.195 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1486, allocations: 4.062 kB / 441.6 MB, free: 2.191 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.309e-05/0.1487, allocations: 85.05 kB / 441.7 MB, free: 2.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.1488, allocations: 3.938 kB / 441.7 MB, free: 2.086 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.1491, allocations: 119.9 kB / 441.8 MB, free: 1.934 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.833e-05/0.1492, allocations: 59.34 kB / 441.8 MB, free: 1.855 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.233e-06/0.1492, allocations: 3.938 kB / 441.8 MB, free: 1.852 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.1492, allocations: 12.5 kB / 441.9 MB, free: 1.836 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.1492, allocations: 0 / 441.9 MB, free: 1.836 MB / 410.7 MB Notification: Performance of Templates: time 0.2871/0.4363, allocations: 113.6 MB / 0.5425 GB, free: 7.742 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 13.740667889942415]