Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 102 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002157/0.002157, allocations: 183.9 kB / 24.51 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 225.6 MB / 253.3 MB, free: 13.07 MB / 206.1 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.235/0.235, allocations: 44.92 MB / 353.5 MB, free: 11.83 MB / 286.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3")
translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 63.91 kB / 497.7 MB, free: 1.023 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.399, allocations: 64.28 MB / 0.5488 GB, free: 13.16 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001689/0.4007, allocations: 0.5046 MB / 0.5493 GB, free: 12.79 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002282/0.403, allocations: 1.541 MB / 0.5508 GB, free: 11.56 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.143e-05/0.403, allocations: 0 / 0.5508 GB, free: 11.56 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.403, allocations: 0 / 0.5508 GB, free: 11.56 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 5.27e-06/0.403, allocations: 0 / 0.5508 GB, free: 11.56 MB / 398.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'.
Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.4041, allocations: 250.4 kB / 0.551 GB, free: 11.43 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 4.875e-05/0.4042, allocations: 2.156 kB / 0.551 GB, free: 11.43 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.434e-05/0.4042, allocations: 4.922 kB / 0.551 GB, free: 11.42 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 1.48e-05/0.4042, allocations: 0 / 0.551 GB, free: 11.42 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 1.675e-05/0.4042, allocations: 5.031 kB / 0.551 GB, free: 11.42 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.861e-06/0.4042, allocations: 4 kB / 0.551 GB, free: 11.41 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.4054, allocations: 0.7976 MB / 0.5518 GB, free: 11.05 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.035e-06/0.4054, allocations: 1.125 kB / 0.5518 GB, free: 11.05 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 1.752e-05/0.4054, allocations: 0 / 0.5518 GB, free: 11.05 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0009971/0.4064, allocations: 0.6532 MB / 0.5525 GB, free: 10.73 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.319e-06/0.4064, allocations: 0 / 0.5525 GB, free: 10.73 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.144e-06/0.4065, allocations: 0 / 0.5525 GB, free: 10.73 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.242e-05/0.4065, allocations: 1.531 kB / 0.5525 GB, free: 10.73 MB / 398.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.0005604/0.407, allocations: 290.2 kB / 0.5527 GB, free: 10.42 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.4071, allocations: 14.23 kB / 0.5528 GB, free: 10.41 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.4071, allocations: 5.984 kB / 0.5528 GB, free: 10.41 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.4072, allocations: 108 kB / 0.5529 GB, free: 10.28 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.4073, allocations: 384 / 0.5529 GB, free: 10.28 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.4073, allocations: 1.562 kB / 0.5529 GB, free: 10.28 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.4074, allocations: 32.17 kB / 0.5529 GB, free: 10.25 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.4074, allocations: 3.938 kB / 0.5529 GB, free: 10.24 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.4074, allocations: 5.062 kB / 0.5529 GB, free: 10.24 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.4074, allocations: 0 / 0.5529 GB, free: 10.24 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.81e-05/0.4074, allocations: 1.062 kB / 0.5529 GB, free: 10.24 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.4076, allocations: 126.9 kB / 0.553 GB, free: 10.07 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 5.784e-05/0.4076, allocations: 16.86 kB / 0.553 GB, free: 10.05 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.28e-05/0.4077, allocations: 9.844 kB / 0.5531 GB, free: 10.04 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 8.877e-06/0.4077, allocations: 0 / 0.5531 GB, free: 10.04 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.971e-05/0.4078, allocations: 65.3 kB / 0.5531 GB, free: 9.961 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.4078, allocations: 0 / 0.5531 GB, free: 9.961 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1): time 0.0002088/0.408, allocations: 74.92 kB / 0.5532 GB, free: 9.883 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.687e-05/0.4081, allocations: 78.2 kB / 0.5533 GB, free: 9.789 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.538e-05/0.4081, allocations: 89.86 kB / 0.5533 GB, free: 9.691 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.4081, allocations: 26.83 kB / 0.5534 GB, free: 9.66 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.12e-05/0.4082, allocations: 80.14 kB / 0.5535 GB, free: 9.578 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.4082, allocations: 1.062 kB / 0.5535 GB, free: 9.578 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.4082, allocations: 14.84 kB / 0.5535 GB, free: 9.559 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001547/0.4084, allocations: 311.9 kB / 0.5538 GB, free: 9.246 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.238e-05/0.4084, allocations: 5.312 kB / 0.5538 GB, free: 9.242 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.192e-06/0.4084, allocations: 1.031 kB / 0.5538 GB, free: 9.242 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 6.531e-05/0.4085, allocations: 67.38 kB / 0.5538 GB, free: 9.164 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4085, allocations: 0 / 0.5538 GB, free: 9.164 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1) (initialization): time 7.853e-05/0.4085, allocations: 61.81 kB / 0.5539 GB, free: 9.098 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.775e-05/0.4086, allocations: 36.17 kB / 0.5539 GB, free: 9.062 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4086, allocations: 0 / 0.5539 GB, free: 9.062 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.4086, allocations: 0 / 0.5539 GB, free: 9.062 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.4086, allocations: 1.125 kB / 0.5539 GB, free: 9.062 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.4086, allocations: 7.984 kB / 0.5539 GB, free: 9.055 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.777e-05/0.4086, allocations: 1.094 kB / 0.5539 GB, free: 9.055 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.4087, allocations: 1.094 kB / 0.5539 GB, free: 9.055 MB / 398.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 0.0001035/0.4088, allocations: 137.7 kB / 0.5541 GB, free: 8.906 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.4088, allocations: 9.359 kB / 0.5541 GB, free: 8.898 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.488e-05/0.4088, allocations: 3 kB / 0.5541 GB, free: 8.891 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.4088, allocations: 0 / 0.5541 GB, free: 8.891 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.4088, allocations: 0 / 0.5541 GB, free: 8.891 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.4088, allocations: 5.375 kB / 0.5541 GB, free: 8.887 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.4089, allocations: 121.8 kB / 0.5542 GB, free: 8.727 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.4089, allocations: 5.156 kB / 0.5542 GB, free: 8.723 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-07/0.4089, allocations: 0 / 0.5542 GB, free: 8.723 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.4089, allocations: 3.938 kB / 0.5542 GB, free: 8.719 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.4089, allocations: 1.219 kB / 0.5542 GB, free: 8.719 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.4089, allocations: 3.938 kB / 0.5542 GB, free: 8.715 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4089, allocations: 1 kB / 0.5542 GB, free: 8.715 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.4091, allocations: 100.8 kB / 0.5543 GB, free: 8.602 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.98e-06/0.4091, allocations: 1.906 kB / 0.5543 GB, free: 8.602 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.4091, allocations: 5.219 kB / 0.5543 GB, free: 8.598 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.067e-06/0.4091, allocations: 0 / 0.5543 GB, free: 8.598 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.899e-05/0.4091, allocations: 1.281 kB / 0.5543 GB, free: 8.598 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.4091, allocations: 1.312 kB / 0.5543 GB, free: 8.598 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 4.363e-05/0.4092, allocations: 75.28 kB / 0.5544 GB, free: 8.523 MB / 398.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.4092, allocations: 0 / 0.5544 GB, free: 8.523 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0008588/0.41, allocations: 119.6 kB / 0.5545 GB, free: 8.512 MB / 398.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.0009589/0.411, allocations: 168.8 kB / 0.5547 GB, free: 8.391 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.000129/0.4111, allocations: 64.14 kB / 0.5547 GB, free: 8.32 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4111, allocations: 5.312 kB / 0.5547 GB, free: 8.316 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 3.903e-05/0.4111, allocations: 53.91 kB / 0.5548 GB, free: 8.254 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.4113, allocations: 8.031 kB / 0.5548 GB, free: 8.254 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002188/0.4115, allocations: 79.48 kB / 0.5549 GB, free: 8.156 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.4118, allocations: 0.6777 MB / 0.5555 GB, free: 7.453 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 7.464e-06/0.4118, allocations: 0 / 0.5555 GB, free: 7.453 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.472e-05/0.4119, allocations: 8.594 kB / 0.5555 GB, free: 7.445 MB / 398.1 MB
Notification: Performance of SimCode: time 4.11e-07/0.4119, allocations: 0 / 0.5555 GB, free: 7.445 MB / 398.1 MB
Notification: Performance of Templates: time 0.01161/0.4235, allocations: 3.933 MB / 0.5594 GB, free: 4.219 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480]
[Calling os._exit(0), Time elapsed: 5.332842476665974]
Failed to read output from testmodel.py, exit status != 0:
['time', 'result']
0.4342485349625349 0.450316071 0.040148789000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f16c6e417b0>