Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001372/0.001372, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001663/0.001663, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 230.3 MB / 258 MB, free: 8.219 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2437/0.2437, allocations: 46.94 MB / 361.4 MB, free: 4.391 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo)
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b")
translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b") [Timeout 660]
"Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002426/0.002426, allocations: 87.84 kB / 0.4971 GB, free: 7.508 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4547/0.4572, allocations: 66.03 MB / 0.5616 GB, free: 4.559 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001793/0.459, allocations: 0.4893 MB / 0.5621 GB, free: 4.07 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003669/0.4626, allocations: 2.168 MB / 0.5642 GB, free: 1.883 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.383e-05/0.4627, allocations: 0 / 0.5642 GB, free: 1.883 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.704e-05/0.4627, allocations: 0 / 0.5642 GB, free: 1.883 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 6.051e-06/0.4627, allocations: 0 / 0.5642 GB, free: 1.883 MB / 398.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'.
Notification: Performance of NFTyping.typeClassSections: time 0.00224/0.4649, allocations: 0.7737 MB / 0.565 GB, free: 1.117 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 4.673e-05/0.465, allocations: 7.938 kB / 0.565 GB, free: 1.109 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 3.919e-05/0.465, allocations: 4 kB / 0.565 GB, free: 1.105 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 1.924e-05/0.465, allocations: 3.984 kB / 0.565 GB, free: 1.102 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 1.584e-05/0.465, allocations: 7.922 kB / 0.565 GB, free: 1.094 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.98e-06/0.465, allocations: 0 / 0.565 GB, free: 1.094 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.00259/0.4676, allocations: 1.701 MB / 0.5667 GB, free: 15.39 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.4677, allocations: 7.984 kB / 0.5667 GB, free: 15.38 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 1.882e-05/0.4677, allocations: 0 / 0.5667 GB, free: 15.38 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002091/0.4698, allocations: 1.57 MB / 0.5682 GB, free: 13.82 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.4698, allocations: 0 / 0.5682 GB, free: 13.82 MB / 414.1 MB
Notification: Performance of FrontEnd: time 9.72e-07/0.4698, allocations: 0 / 0.5682 GB, free: 13.82 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 5.971e-06/0.4698, allocations: 0 / 0.5682 GB, free: 13.82 MB / 414.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.0006469/0.4704, allocations: 343.4 kB / 0.5685 GB, free: 13.45 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.4705, allocations: 12.03 kB / 0.5685 GB, free: 13.43 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.143e-05/0.4705, allocations: 0.9375 kB / 0.5685 GB, free: 13.43 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.215e-05/0.4706, allocations: 106.5 kB / 0.5686 GB, free: 13.3 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-06/0.4706, allocations: 384 / 0.5686 GB, free: 13.3 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.4706, allocations: 384 / 0.5687 GB, free: 13.3 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.497e-05/0.4707, allocations: 41.95 kB / 0.5687 GB, free: 13.26 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.4707, allocations: 0 / 0.5687 GB, free: 13.26 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.4707, allocations: 0 / 0.5687 GB, free: 13.26 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.4707, allocations: 0 / 0.5687 GB, free: 13.26 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.804e-05/0.4707, allocations: 4 kB / 0.5687 GB, free: 13.25 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.4709, allocations: 116.8 kB / 0.5688 GB, free: 13.1 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 4.423e-05/0.4709, allocations: 18.67 kB / 0.5688 GB, free: 13.07 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 1.471e-05/0.4709, allocations: 8.859 kB / 0.5688 GB, free: 13.06 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 6.542e-06/0.4709, allocations: 3.938 kB / 0.5688 GB, free: 13.05 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.874e-05/0.471, allocations: 68.14 kB / 0.5689 GB, free: 12.97 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=1): time 1.021e-06/0.471, allocations: 0 / 0.5689 GB, free: 12.97 MB / 414.1 MB
Notification: Performance of matching and sorting (n=1): time 0.0001771/0.4712, allocations: 67.34 kB / 0.569 GB, free: 12.89 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.4712, allocations: 77.23 kB / 0.569 GB, free: 12.8 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.611e-05/0.4713, allocations: 93.86 kB / 0.5691 GB, free: 12.7 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.4713, allocations: 25.7 kB / 0.5692 GB, free: 12.67 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 3.561e-05/0.4713, allocations: 84.14 kB / 0.5692 GB, free: 12.58 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.4714, allocations: 4 kB / 0.5692 GB, free: 12.58 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.4714, allocations: 9.719 kB / 0.5692 GB, free: 12.56 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001379/0.4715, allocations: 310.8 kB / 0.5695 GB, free: 12.25 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-06/0.4715, allocations: 4 kB / 0.5695 GB, free: 12.25 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.06e-05/0.4715, allocations: 7.922 kB / 0.5696 GB, free: 12.24 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 5.224e-05/0.4716, allocations: 64.33 kB / 0.5696 GB, free: 12.16 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.4716, allocations: 0 / 0.5696 GB, free: 12.16 MB / 414.1 MB
Notification: Performance of matching and sorting (n=1) (initialization): time 7.899e-05/0.4717, allocations: 59.41 kB / 0.5697 GB, free: 12.09 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/0.4717, allocations: 37.64 kB / 0.5697 GB, free: 12.05 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4717, allocations: 3.984 kB / 0.5697 GB, free: 12.04 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.4717, allocations: 0 / 0.5697 GB, free: 12.04 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.4717, allocations: 3.938 kB / 0.5697 GB, free: 12.04 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.4717, allocations: 0 / 0.5697 GB, free: 12.04 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.281e-05/0.4717, allocations: 0 / 0.5697 GB, free: 12.04 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.4717, allocations: 8.031 kB / 0.5697 GB, free: 12.03 MB / 414.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.507e-05/0.4718, allocations: 132.4 kB / 0.5698 GB, free: 11.89 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.4719, allocations: 7.938 kB / 0.5699 GB, free: 11.88 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.016e-05/0.4719, allocations: 3 kB / 0.5699 GB, free: 11.88 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.4719, allocations: 0 / 0.5699 GB, free: 11.88 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4719, allocations: 3.938 kB / 0.5699 GB, free: 11.87 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.4719, allocations: 0 / 0.5699 GB, free: 11.87 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.472, allocations: 120.8 kB / 0.57 GB, free: 11.71 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.472, allocations: 4 kB / 0.57 GB, free: 11.71 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.472, allocations: 4 kB / 0.57 GB, free: 11.7 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.472, allocations: 3.938 kB / 0.57 GB, free: 11.7 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.472, allocations: 0 / 0.57 GB, free: 11.7 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.472, allocations: 4 kB / 0.57 GB, free: 11.7 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.472, allocations: 0 / 0.57 GB, free: 11.7 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.4721, allocations: 94.77 kB / 0.5701 GB, free: 11.58 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.038e-06/0.4721, allocations: 0 / 0.5701 GB, free: 11.58 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.4721, allocations: 3.938 kB / 0.5701 GB, free: 11.57 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.859e-05/0.4721, allocations: 8.031 kB / 0.5701 GB, free: 11.57 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/0.4722, allocations: 3.984 kB / 0.5701 GB, free: 11.56 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.4722, allocations: 0 / 0.5701 GB, free: 11.56 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 4.217e-05/0.4722, allocations: 75.28 kB / 0.5702 GB, free: 11.49 MB / 414.1 MB
Notification: Performance of sort global known variables: time 6.1e-08/0.4722, allocations: 0 / 0.5702 GB, free: 11.49 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0008611/0.4731, allocations: 275.6 kB / 0.5704 GB, free: 11.22 MB / 414.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.001508/0.4746, allocations: 421.9 kB / 0.5708 GB, free: 10.81 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001326/0.4747, allocations: 63.41 kB / 0.5709 GB, free: 10.73 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4747, allocations: 0 / 0.5709 GB, free: 10.73 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 5.397e-05/0.4748, allocations: 59.39 kB / 0.571 GB, free: 10.66 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.4749, allocations: 0 / 0.571 GB, free: 10.66 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002571/0.4752, allocations: 81 kB / 0.571 GB, free: 10.56 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.4755, allocations: 0.6729 MB / 0.5717 GB, free: 9.859 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 5.901e-06/0.4755, allocations: 0 / 0.5717 GB, free: 9.859 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.369e-05/0.4755, allocations: 7.438 kB / 0.5717 GB, free: 9.852 MB / 414.1 MB
Notification: Performance of SimCode: time 6.92e-07/0.4755, allocations: 0 / 0.5717 GB, free: 9.852 MB / 414.1 MB
Notification: Performance of Templates: time 0.01633/0.4919, allocations: 7.324 MB / 0.5788 GB, free: 2.516 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480]
[Calling os._exit(0), Time elapsed: 5.551350465975702]
Failed to read output from testmodel.py, exit status != 0:
['time', 'result']
0.5005329884588718 0.514985802 0.041813841000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fd8d0d217b0>