Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.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.001573/0.001573, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001786/0.001786, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.382/1.382, allocations: 230.3 MB / 258 MB, free: 8.223 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2184/0.2184, allocations: 46.89 MB / 361.3 MB, free: 4.441 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2")
translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 75.88 kB / 0.497 GB, free: 7.617 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3304, allocations: 66.04 MB / 0.5615 GB, free: 4.625 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.00159/0.332, allocations: 0.4915 MB / 0.562 GB, free: 4.137 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.007712/0.3397, allocations: 4.949 MB / 0.5668 GB, free: 15.16 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 1.78e-05/0.3397, allocations: 0 / 0.5668 GB, free: 15.16 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.141e-05/0.3397, allocations: 8 kB / 0.5668 GB, free: 15.16 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 9.508e-06/0.3397, allocations: 3.938 kB / 0.5668 GB, free: 15.15 MB / 414.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.007714/0.3474, allocations: 3.264 MB / 0.57 GB, free: 11.89 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 5.203e-05/0.3475, allocations: 0 / 0.57 GB, free: 11.89 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 3.702e-05/0.3475, allocations: 0 / 0.57 GB, free: 11.89 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 1.425e-05/0.3476, allocations: 4 kB / 0.57 GB, free: 11.89 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 1.472e-05/0.3476, allocations: 0 / 0.57 GB, free: 11.89 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.99e-06/0.3476, allocations: 0 / 0.57 GB, free: 11.89 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.03076/0.3783, allocations: 21.05 MB / 0.5906 GB, free: 6.812 MB / 430.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.3783, allocations: 0 / 0.5906 GB, free: 6.812 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.3784, allocations: 7.875 kB / 0.5906 GB, free: 6.805 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.04129/0.4197, allocations: 27.6 MB / 0.6176 GB, free: 11.16 MB / 462.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.4197, allocations: 0 / 0.6176 GB, free: 11.16 MB / 462.1 MB
Notification: Performance of FrontEnd: time 1.924e-06/0.4197, allocations: 0 / 0.6176 GB, free: 11.16 MB / 462.1 MB
Notification: Performance of Transformations before backend: time 6.953e-06/0.4197, allocations: 0 / 0.6176 GB, free: 11.16 MB / 462.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.007225/0.4269, allocations: 0.6125 MB / 0.6182 GB, free: 10.52 MB / 462.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.4269, allocations: 12.03 kB / 0.6182 GB, free: 10.5 MB / 462.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.427, allocations: 0.9375 kB / 0.6182 GB, free: 10.5 MB / 462.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.613e-05/0.4271, allocations: 109.9 kB / 0.6183 GB, free: 10.37 MB / 462.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.4271, allocations: 0 / 0.6183 GB, free: 10.37 MB / 462.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.4271, allocations: 4 kB / 0.6183 GB, free: 10.37 MB / 462.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.458e-05/0.4272, allocations: 33.64 kB / 0.6183 GB, free: 10.33 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.4272, allocations: 3.984 kB / 0.6183 GB, free: 10.32 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-06/0.4272, allocations: 0 / 0.6183 GB, free: 10.32 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.4272, allocations: 0 / 0.6183 GB, free: 10.32 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.963e-05/0.4272, allocations: 4 kB / 0.6183 GB, free: 10.32 MB / 462.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001473/0.4274, allocations: 124.7 kB / 0.6184 GB, free: 10.16 MB / 462.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 4.287e-05/0.4274, allocations: 18.61 kB / 0.6185 GB, free: 10.13 MB / 462.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 1.425e-05/0.4274, allocations: 8.859 kB / 0.6185 GB, free: 10.12 MB / 462.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 7.153e-06/0.4274, allocations: 0 / 0.6185 GB, free: 10.12 MB / 462.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/0.4275, allocations: 60.2 kB / 0.6185 GB, free: 10.04 MB / 462.1 MB
Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.4275, allocations: 0 / 0.6185 GB, free: 10.04 MB / 462.1 MB
Notification: Performance of matching and sorting (n=1): time 0.0001665/0.4276, allocations: 67.45 kB / 0.6186 GB, free: 9.965 MB / 462.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/0.4277, allocations: 77.11 kB / 0.6187 GB, free: 9.871 MB / 462.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.968e-05/0.4278, allocations: 89.86 kB / 0.6187 GB, free: 9.773 MB / 462.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.4278, allocations: 29.83 kB / 0.6188 GB, free: 9.738 MB / 462.1 MB
Notification: Performance of collectInitialEqns (initialization): time 3.749e-05/0.4278, allocations: 84.14 kB / 0.6188 GB, free: 9.652 MB / 462.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.444e-05/0.4278, allocations: 0 / 0.6188 GB, free: 9.652 MB / 462.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.4278, allocations: 9.719 kB / 0.6189 GB, free: 9.637 MB / 462.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001428/0.428, allocations: 318.8 kB / 0.6192 GB, free: 9.316 MB / 462.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.17e-05/0.428, allocations: 7.984 kB / 0.6192 GB, free: 9.309 MB / 462.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.759e-06/0.428, allocations: 0 / 0.6192 GB, free: 9.309 MB / 462.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 5.744e-05/0.4281, allocations: 64.2 kB / 0.6192 GB, free: 9.23 MB / 462.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4281, allocations: 4.062 kB / 0.6192 GB, free: 9.227 MB / 462.1 MB
Notification: Performance of matching and sorting (n=1) (initialization): time 6.822e-05/0.4281, allocations: 59.41 kB / 0.6193 GB, free: 9.156 MB / 462.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.436e-05/0.4282, allocations: 35.72 kB / 0.6193 GB, free: 9.117 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.4282, allocations: 0 / 0.6193 GB, free: 9.117 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.4282, allocations: 0 / 0.6193 GB, free: 9.117 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.554e-06/0.4282, allocations: 4 kB / 0.6193 GB, free: 9.113 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.4282, allocations: 4 kB / 0.6193 GB, free: 9.109 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.434e-05/0.4282, allocations: 0 / 0.6193 GB, free: 9.109 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.4282, allocations: 3.938 kB / 0.6193 GB, free: 9.105 MB / 462.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.756e-05/0.4283, allocations: 147.5 kB / 0.6195 GB, free: 8.945 MB / 462.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.604e-06/0.4283, allocations: 0 / 0.6195 GB, free: 8.945 MB / 462.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.496e-06/0.4283, allocations: 3 kB / 0.6195 GB, free: 8.941 MB / 462.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.11e-07/0.4283, allocations: 0 / 0.6195 GB, free: 8.941 MB / 462.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.4283, allocations: 0 / 0.6195 GB, free: 8.941 MB / 462.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-06/0.4283, allocations: 7.875 kB / 0.6195 GB, free: 8.934 MB / 462.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.234e-05/0.4284, allocations: 124.7 kB / 0.6196 GB, free: 8.77 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.4284, allocations: 0 / 0.6196 GB, free: 8.77 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.4284, allocations: 0 / 0.6196 GB, free: 8.77 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.4284, allocations: 0 / 0.6196 GB, free: 8.77 MB / 462.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-06/0.4284, allocations: 4 kB / 0.6196 GB, free: 8.766 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.4284, allocations: 0 / 0.6196 GB, free: 8.766 MB / 462.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.4284, allocations: 0 / 0.6196 GB, free: 8.766 MB / 462.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.4285, allocations: 94.77 kB / 0.6197 GB, free: 8.648 MB / 462.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.41e-06/0.4285, allocations: 3.938 kB / 0.6197 GB, free: 8.645 MB / 462.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.4286, allocations: 4 kB / 0.6197 GB, free: 8.641 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.686e-06/0.4286, allocations: 0 / 0.6197 GB, free: 8.641 MB / 462.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.606e-06/0.4286, allocations: 32 / 0.6197 GB, free: 8.641 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.4286, allocations: 8 kB / 0.6197 GB, free: 8.633 MB / 462.1 MB
Notification: Performance of sorting global known variables: time 3.352e-05/0.4286, allocations: 79.27 kB / 0.6198 GB, free: 8.555 MB / 462.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.4286, allocations: 0 / 0.6198 GB, free: 8.555 MB / 462.1 MB
Notification: Performance of remove unused functions: time 0.01023/0.4388, allocations: 3.78 MB / 0.6235 GB, free: 4.773 MB / 462.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.01807/0.4569, allocations: 0.9919 MB / 0.6245 GB, free: 3.781 MB / 462.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001368/0.457, allocations: 63.34 kB / 0.6245 GB, free: 3.707 MB / 462.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4571, allocations: 3.938 kB / 0.6245 GB, free: 3.703 MB / 462.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.188e-05/0.4571, allocations: 59.41 kB / 0.6246 GB, free: 3.633 MB / 462.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.4572, allocations: 4 kB / 0.6246 GB, free: 3.629 MB / 462.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001868/0.4574, allocations: 77.05 kB / 0.6246 GB, free: 3.527 MB / 462.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.4577, allocations: 0.6767 MB / 0.6253 GB, free: 2.824 MB / 462.1 MB
Notification: Performance of simCode: alias equations: time 5.981e-06/0.4577, allocations: 0 / 0.6253 GB, free: 2.824 MB / 462.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.459e-05/0.4577, allocations: 11.44 kB / 0.6253 GB, free: 2.812 MB / 462.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.4577, allocations: 0 / 0.6253 GB, free: 2.812 MB / 462.1 MB
Notification: Performance of Templates: time 0.1668/0.6245, allocations: 112.6 MB / 0.7353 GB, free: 2.008 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 480]
[Calling os._exit(0), Time elapsed: 13.446679498068988]
Failed to read output from testmodel.py, exit status != 0:
['time', 'result']
0.6324567031115294 0.848392989 0.42619728100000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f61c87017b0>