Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001589/0.001589, allocations: 83.73 kB / 20.52 MB, free: 1.117 MB / 14.72 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.001928/0.001928, allocations: 168.7 kB / 23.76 MB, free: 4.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 158.6 MB / 185.5 MB, free: 6.227 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2226/0.2226, allocations: 32.38 MB / 270.1 MB, free: 2.703 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002272, allocations: 72.47 kB / 407.7 MB, free: 5.555 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1107, allocations: 61.04 MB / 468.8 MB, free: 8.324 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001694/0.1124, allocations: 0.4912 MB / 469.3 MB, free: 7.832 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002169/0.1146, allocations: 1.516 MB / 470.8 MB, free: 6.297 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.857e-05/0.1146, allocations: 0 / 470.8 MB, free: 6.297 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.662e-05/0.1146, allocations: 0 / 470.8 MB, free: 6.297 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.779e-06/0.1146, allocations: 0 / 470.8 MB, free: 6.297 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009724/0.1156, allocations: 251.3 kB / 471 MB, free: 6.051 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.058e-05/0.1156, allocations: 0 / 471 MB, free: 6.051 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.1157, allocations: 4 kB / 471 MB, free: 6.047 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.502e-05/0.1157, allocations: 7.984 kB / 471 MB, free: 6.039 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.576e-05/0.1157, allocations: 0 / 471 MB, free: 6.039 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.779e-06/0.1157, allocations: 0 / 471 MB, free: 6.039 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.1168, allocations: 0.6791 MB / 471.7 MB, free: 5.359 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.098e-05/0.1168, allocations: 3.984 kB / 471.7 MB, free: 5.355 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.921e-05/0.1168, allocations: 3.938 kB / 471.7 MB, free: 5.352 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000751/0.1176, allocations: 0.6122 MB / 472.3 MB, free: 4.738 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.1176, allocations: 4 kB / 472.4 MB, free: 4.734 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1176, allocations: 0 / 472.4 MB, free: 4.734 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.1176, allocations: 0 / 472.4 MB, free: 4.734 MB / 446.1 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.0004186/0.118, allocations: 291.9 kB / 472.6 MB, free: 4.414 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.118, allocations: 12.03 kB / 472.6 MB, free: 4.402 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.1181, allocations: 0.9375 kB / 472.6 MB, free: 4.402 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.673e-05/0.1181, allocations: 106.5 kB / 472.8 MB, free: 4.273 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.1182, allocations: 4.375 kB / 472.8 MB, free: 4.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.1182, allocations: 384 / 472.8 MB, free: 4.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.1183, allocations: 63.7 kB / 472.8 MB, free: 4.195 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.1183, allocations: 0 / 472.8 MB, free: 4.195 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.1183, allocations: 0 / 472.8 MB, free: 4.195 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1183, allocations: 0 / 472.8 MB, free: 4.195 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.201e-05/0.1183, allocations: 29.7 kB / 472.8 MB, free: 4.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001177/0.1184, allocations: 101.3 kB / 472.9 MB, free: 4.031 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.617e-05/0.1185, allocations: 48.16 kB / 473 MB, free: 3.969 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.634e-05/0.1185, allocations: 46.58 kB / 473 MB, free: 3.914 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.1185, allocations: 0 / 473 MB, free: 3.914 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.933e-05/0.1186, allocations: 60.27 kB / 473.1 MB, free: 3.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.1186, allocations: 0 / 473.1 MB, free: 3.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001874/0.1188, allocations: 114.8 kB / 473.2 MB, free: 3.703 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.644e-05/0.1189, allocations: 85.09 kB / 473.3 MB, free: 3.602 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.091e-05/0.1189, allocations: 89.86 kB / 473.4 MB, free: 3.504 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.119, allocations: 29.64 kB / 473.4 MB, free: 3.469 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/0.119, allocations: 84.27 kB / 473.5 MB, free: 3.383 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.119, allocations: 4 kB / 473.5 MB, free: 3.379 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.119, allocations: 13.72 kB / 473.5 MB, free: 3.359 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1192, allocations: 310.8 kB / 473.8 MB, free: 3.047 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.482e-05/0.1192, allocations: 25.7 kB / 473.8 MB, free: 3.016 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.984e-05/0.1192, allocations: 29.7 kB / 473.9 MB, free: 2.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.1194, allocations: 64.25 kB / 473.9 MB, free: 2.902 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1194, allocations: 4 kB / 473.9 MB, free: 2.898 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.586e-05/0.1194, allocations: 81.11 kB / 474 MB, free: 2.801 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.1195, allocations: 37.8 kB / 474.1 MB, free: 2.758 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1195, allocations: 0 / 474.1 MB, free: 2.758 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1195, allocations: 3.938 kB / 474.1 MB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.031e-06/0.1195, allocations: 7.922 kB / 474.1 MB, free: 2.746 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.1195, allocations: 3.984 kB / 474.1 MB, free: 2.742 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.455e-05/0.1195, allocations: 0 / 474.1 MB, free: 2.742 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.1195, allocations: 4 kB / 474.1 MB, free: 2.738 MB / 446.1 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 9.162e-05/0.1196, allocations: 131.5 kB / 474.2 MB, free: 2.594 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-06/0.1196, allocations: 4 kB / 474.2 MB, free: 2.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.518e-05/0.1196, allocations: 10.94 kB / 474.2 MB, free: 2.578 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.1196, allocations: 4 kB / 474.2 MB, free: 2.574 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1197, allocations: 0 / 474.2 MB, free: 2.574 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-06/0.1197, allocations: 0 / 474.2 MB, free: 2.574 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.681e-05/0.1197, allocations: 97.31 kB / 474.3 MB, free: 2.449 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.1197, allocations: 0 / 474.3 MB, free: 2.449 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-06/0.1197, allocations: 4 kB / 474.3 MB, free: 2.445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.1197, allocations: 0 / 474.3 MB, free: 2.445 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-06/0.1197, allocations: 0 / 474.3 MB, free: 2.445 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.1197, allocations: 3.938 kB / 474.3 MB, free: 2.441 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1197, allocations: 3.938 kB / 474.3 MB, free: 2.438 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.1199, allocations: 120.5 kB / 474.4 MB, free: 2.289 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-06/0.1199, allocations: 3.953 kB / 474.4 MB, free: 2.285 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.1199, allocations: 7.938 kB / 474.5 MB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.011e-05/0.1199, allocations: 3.938 kB / 474.5 MB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.285e-05/0.1199, allocations: 3.938 kB / 474.5 MB, free: 2.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.1199, allocations: 3.984 kB / 474.5 MB, free: 2.266 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.593e-05/0.1199, allocations: 79.31 kB / 474.5 MB, free: 2.188 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1199, allocations: 0 / 474.5 MB, free: 2.188 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003811/0.1203, allocations: 123.9 kB / 474.7 MB, free: 2.066 MB / 446.1 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.0006494/0.121, allocations: 182.1 kB / 474.8 MB, free: 1.883 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001214/0.1211, allocations: 114.8 kB / 475 MB, free: 1.746 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1211, allocations: 0 / 475 MB, free: 1.746 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.404e-05/0.1212, allocations: 81.11 kB / 475 MB, free: 1.648 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/0.1213, allocations: 8.125 kB / 475 MB, free: 1.641 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001993/0.1215, allocations: 118.4 kB / 475.2 MB, free: 1.492 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.434e-05/0.1215, allocations: 51.36 kB / 475.2 MB, free: 1.422 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.691e-06/0.1215, allocations: 0 / 475.2 MB, free: 1.422 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.272e-05/0.1215, allocations: 8.5 kB / 475.2 MB, free: 1.414 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1215, allocations: 4 kB / 475.2 MB, free: 1.41 MB / 446.1 MB Notification: Performance of Templates: time 0.1979/0.3194, allocations: 3.91 MB / 479.1 MB, free: 50 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.087780975038186] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.3273323649773374 0.33623160500000004 0.21643303400000002 Calling exit ...