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.0008885/0.0008885, allocations: 84.44 kB / 20.7 MB, free: 3.875 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.0008058/0.0008058, allocations: 169.9 kB / 23.96 MB, free: 0.6055 MB / 18.57 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 0.8449/0.8449, allocations: 158.6 MB / 185.7 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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.1259/0.1259, allocations: 32.37 MB / 270.4 MB, free: 14.96 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 408.1 MB, free: 1.773 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.855e-05/2.983e-05, allocations: 10.02 kB / 408.1 MB, free: 1.766 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.0009425/0.0009723, allocations: 0.491 MB / 408.6 MB, free: 1.277 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.002412, allocations: 1.512 MB / 410.1 MB, free: 15.74 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.589e-05/0.002428, allocations: 0 / 410.1 MB, free: 15.74 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.377e-05/0.002442, allocations: 0 / 410.1 MB, free: 15.74 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 6.092e-06/0.002448, allocations: 0 / 410.1 MB, free: 15.74 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006863/0.003134, allocations: 255 kB / 410.3 MB, free: 15.5 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 4.465e-05/0.003179, allocations: 8 kB / 410.4 MB, free: 15.49 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.275e-05/0.003211, allocations: 0 / 410.4 MB, free: 15.49 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.786e-05/0.003239, allocations: 3.984 kB / 410.4 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.615e-05/0.003255, allocations: 0 / 410.4 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.192e-06/0.003262, allocations: 0 / 410.4 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005964/0.003858, allocations: 0.6753 MB / 411 MB, free: 14.81 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.653e-06/0.003865, allocations: 0 / 411 MB, free: 14.81 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.627e-05/0.003881, allocations: 4 kB / 411 MB, free: 14.8 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005419/0.004423, allocations: 0.7486 MB / 411.8 MB, free: 14.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.004424, allocations: 0 / 411.8 MB, free: 14.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004425, allocations: 3.938 kB / 411.8 MB, free: 14.05 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.004429, allocations: 0 / 411.8 MB, free: 14.05 MB / 394.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.0003037/0.004732, allocations: 291.9 kB / 412.1 MB, free: 13.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.004763, allocations: 8.031 kB / 412.1 MB, free: 13.72 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.004793, allocations: 8.891 kB / 412.1 MB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.817e-05/0.004841, allocations: 101.8 kB / 412.2 MB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.00485, allocations: 4.359 kB / 412.2 MB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-06/0.004857, allocations: 384 / 412.2 MB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.263e-05/0.00493, allocations: 59.97 kB / 412.3 MB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-06/0.004936, allocations: 192 / 412.3 MB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-06/0.004942, allocations: 4.312 kB / 412.3 MB, free: 13.51 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.004947, allocations: 3.938 kB / 412.3 MB, free: 13.51 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.23e-05/0.004969, allocations: 33.7 kB / 412.3 MB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.617e-05/0.005045, allocations: 93.33 kB / 412.4 MB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.065e-05/0.005096, allocations: 60.17 kB / 412.4 MB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.576e-05/0.005112, allocations: 30.56 kB / 412.5 MB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.005118, allocations: 0 / 412.5 MB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.00515, allocations: 64.33 kB / 412.5 MB, free: 13.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 4.5e-07/0.005151, allocations: 4 kB / 412.5 MB, free: 13.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001658/0.005316, allocations: 118.7 kB / 412.7 MB, free: 13.01 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.005352, allocations: 81.05 kB / 412.7 MB, free: 12.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.603e-05/0.005378, allocations: 89.86 kB / 412.8 MB, free: 12.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.005385, allocations: 25.7 kB / 412.8 MB, free: 12.79 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.665e-05/0.005402, allocations: 80.14 kB / 412.9 MB, free: 12.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.005416, allocations: 4 kB / 412.9 MB, free: 12.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.798e-05/0.005434, allocations: 13.72 kB / 412.9 MB, free: 12.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.498e-05/0.005529, allocations: 310.8 kB / 413.2 MB, free: 12.37 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.005543, allocations: 29.7 kB / 413.3 MB, free: 12.33 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.099e-05/0.005554, allocations: 33.81 kB / 413.3 MB, free: 12.29 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.168e-05/0.005586, allocations: 64.27 kB / 413.4 MB, free: 12.21 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.005588, allocations: 4 kB / 413.4 MB, free: 12.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.638e-05/0.005635, allocations: 89.05 kB / 413.5 MB, free: 12.11 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.005658, allocations: 33.69 kB / 413.5 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.005662, allocations: 0 / 413.5 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.218e-06/0.005671, allocations: 0 / 413.5 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.005672, allocations: 0 / 413.5 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.005678, allocations: 7.938 kB / 413.5 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.196e-06/0.005686, allocations: 96 / 413.5 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.005692, allocations: 4 kB / 413.5 MB, free: 12.05 MB / 394.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 5.072e-05/0.005742, allocations: 135.5 kB / 413.6 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-06/0.005746, allocations: 4 kB / 413.6 MB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.864e-06/0.005754, allocations: 3 kB / 413.6 MB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.61e-07/0.005755, allocations: 0 / 413.6 MB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.005758, allocations: 0 / 413.6 MB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.005763, allocations: 11.91 kB / 413.7 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.334e-05/0.005806, allocations: 97.33 kB / 413.8 MB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.005807, allocations: 0 / 413.8 MB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.21e-07/0.005807, allocations: 0 / 413.8 MB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.91e-07/0.005807, allocations: 4 kB / 413.8 MB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.005813, allocations: 0 / 413.8 MB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.31e-07/0.005813, allocations: 3.938 kB / 413.8 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.3e-07/0.005813, allocations: 0 / 413.8 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.005935, allocations: 128.3 kB / 413.9 MB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.526e-06/0.005939, allocations: 4 kB / 413.9 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.855e-06/0.005947, allocations: 0 / 413.9 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.228e-06/0.005951, allocations: 0 / 413.9 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-06/0.005961, allocations: 0 / 413.9 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.005964, allocations: 7.984 kB / 413.9 MB, free: 11.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.926e-05/0.005983, allocations: 83.25 kB / 414 MB, free: 11.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.005983, allocations: 0 / 414 MB, free: 11.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002296/0.006213, allocations: 115.9 kB / 414.1 MB, free: 11.39 MB / 394.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.0004359/0.006649, allocations: 182.6 kB / 414.3 MB, free: 11.21 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.382e-05/0.006733, allocations: 114.8 kB / 414.4 MB, free: 11.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.006734, allocations: 0 / 414.4 MB, free: 11.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.429e-05/0.006758, allocations: 85.05 kB / 414.5 MB, free: 10.97 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.527e-05/0.006844, allocations: 7.922 kB / 414.5 MB, free: 10.96 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001438/0.006987, allocations: 124.3 kB / 414.6 MB, free: 10.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.821e-05/0.007016, allocations: 55.36 kB / 414.6 MB, free: 10.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.437e-06/0.007025, allocations: 8.5 kB / 414.7 MB, free: 10.72 MB / 394.7 MB Notification: Performance of SimCode: time 3.6e-07/0.007025, allocations: 0 / 414.7 MB, free: 10.72 MB / 394.7 MB Notification: Performance of Templates: time 0.002943/0.009968, allocations: 2.716 MB / 417.4 MB, free: 7.996 MB / 394.7 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 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.195343671366572] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.014428880997002125 0.022392067 0.01617081 Calling exit ...