Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.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.001614/0.001614, 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.001938/0.001938, allocations: 183.6 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.473/1.473, allocations: 225.6 MB / 253.3 MB, free: 13.05 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.2385/0.2385, allocations: 44.91 MB / 353.5 MB, free: 11.86 MB / 286.1 MB
"
[Timeout remaining time 179]
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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b")
translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 67.89 kB / 497.7 MB, free: 1.059 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3838, allocations: 64.3 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001939/0.3857, allocations: 0.4895 MB / 0.5493 GB, free: 12.78 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003431/0.3891, allocations: 2.123 MB / 0.5514 GB, free: 11.12 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.039e-05/0.3892, allocations: 0 / 0.5514 GB, free: 11.12 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.657e-05/0.3892, allocations: 0 / 0.5514 GB, free: 11.12 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 9.698e-06/0.3892, allocations: 3.938 kB / 0.5514 GB, free: 11.11 MB / 398.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.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.002319/0.3915, allocations: 0.7575 MB / 0.5521 GB, free: 10.66 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 8.675e-05/0.3916, allocations: 6.219 kB / 0.5521 GB, free: 10.66 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.678e-05/0.3916, allocations: 9.094 kB / 0.5521 GB, free: 10.65 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 2.099e-05/0.3917, allocations: 1.188 kB / 0.5521 GB, free: 10.65 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 2.605e-05/0.3917, allocations: 3.938 kB / 0.5521 GB, free: 10.65 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 7.865e-06/0.3917, allocations: 0 / 0.5521 GB, free: 10.65 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.003144/0.3948, allocations: 1.701 MB / 0.5538 GB, free: 9.832 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.3949, allocations: 0 / 0.5538 GB, free: 9.832 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.407e-05/0.3949, allocations: 0.9062 kB / 0.5538 GB, free: 9.832 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002159/0.397, allocations: 1.561 MB / 0.5553 GB, free: 8.805 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.397, allocations: 3.984 kB / 0.5553 GB, free: 8.801 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.343e-06/0.397, allocations: 0 / 0.5553 GB, free: 8.801 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.903e-06/0.3971, allocations: 0 / 0.5553 GB, free: 8.801 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.0007485/0.3978, allocations: 351.3 kB / 0.5556 GB, free: 8.422 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.3978, allocations: 8.922 kB / 0.5557 GB, free: 8.414 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.3979, allocations: 4.938 kB / 0.5557 GB, free: 8.41 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.398, allocations: 102.5 kB / 0.5558 GB, free: 8.285 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.398, allocations: 384 / 0.5558 GB, free: 8.285 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.398, allocations: 8.125 kB / 0.5558 GB, free: 8.277 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.3981, allocations: 33.64 kB / 0.5558 GB, free: 8.238 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3981, allocations: 0 / 0.5558 GB, free: 8.238 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.3981, allocations: 0 / 0.5558 GB, free: 8.238 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.3981, allocations: 0 / 0.5558 GB, free: 8.238 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.469e-05/0.3982, allocations: 7.969 kB / 0.5558 GB, free: 8.23 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001624/0.3983, allocations: 120.8 kB / 0.5559 GB, free: 8.07 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 5.306e-05/0.3984, allocations: 14.58 kB / 0.5559 GB, free: 8.047 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 2.139e-05/0.3984, allocations: 16.89 kB / 0.556 GB, free: 8.027 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 8.556e-06/0.3984, allocations: 3.938 kB / 0.556 GB, free: 8.023 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/0.3985, allocations: 56.27 kB / 0.556 GB, free: 7.953 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.3985, allocations: 0 / 0.556 GB, free: 7.953 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1): time 0.0002186/0.3987, allocations: 67.39 kB / 0.5561 GB, free: 7.875 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.3987, allocations: 77.11 kB / 0.5561 GB, free: 7.781 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.143e-05/0.3988, allocations: 93.8 kB / 0.5562 GB, free: 7.68 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.3988, allocations: 29.83 kB / 0.5563 GB, free: 7.645 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.3989, allocations: 80.14 kB / 0.5563 GB, free: 7.562 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.3989, allocations: 4 kB / 0.5563 GB, free: 7.559 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.3989, allocations: 9.719 kB / 0.5564 GB, free: 7.543 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001635/0.3991, allocations: 318.8 kB / 0.5567 GB, free: 7.223 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.628e-06/0.3991, allocations: 3.938 kB / 0.5567 GB, free: 7.219 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.125e-06/0.3991, allocations: 7.938 kB / 0.5567 GB, free: 7.211 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 7.2e-05/0.3992, allocations: 64.33 kB / 0.5567 GB, free: 7.133 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3992, allocations: 0 / 0.5567 GB, free: 7.133 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1) (initialization): time 7.412e-05/0.3992, allocations: 59.34 kB / 0.5568 GB, free: 7.062 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.516e-05/0.3993, allocations: 41.69 kB / 0.5568 GB, free: 7.016 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3993, allocations: 0 / 0.5568 GB, free: 7.016 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3993, allocations: 0 / 0.5568 GB, free: 7.016 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.3993, allocations: 0 / 0.5568 GB, free: 7.016 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3993, allocations: 0 / 0.5568 GB, free: 7.016 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.088e-05/0.3993, allocations: 3.953 kB / 0.5568 GB, free: 7.012 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.3993, allocations: 0 / 0.5568 GB, free: 7.012 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.0001161/0.3995, allocations: 143.5 kB / 0.557 GB, free: 6.855 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.3995, allocations: 3.938 kB / 0.557 GB, free: 6.852 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.467e-05/0.3995, allocations: 6.938 kB / 0.557 GB, free: 6.84 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3995, allocations: 4 kB / 0.557 GB, free: 6.836 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.3995, allocations: 3.984 kB / 0.557 GB, free: 6.832 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.3995, allocations: 0 / 0.557 GB, free: 6.832 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.3996, allocations: 112.8 kB / 0.5571 GB, free: 6.68 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3996, allocations: 3.938 kB / 0.5571 GB, free: 6.676 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-07/0.3996, allocations: 0 / 0.5571 GB, free: 6.676 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.3996, allocations: 4 kB / 0.5571 GB, free: 6.672 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.3996, allocations: 4 kB / 0.5571 GB, free: 6.668 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.3996, allocations: 4 kB / 0.5571 GB, free: 6.664 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3996, allocations: 0 / 0.5571 GB, free: 6.664 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.3997, allocations: 90.83 kB / 0.5572 GB, free: 6.551 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.045e-06/0.3997, allocations: 7.938 kB / 0.5572 GB, free: 6.543 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.3998, allocations: 0 / 0.5572 GB, free: 6.543 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.677e-06/0.3998, allocations: 0 / 0.5572 GB, free: 6.543 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.051e-05/0.3998, allocations: 12.02 kB / 0.5572 GB, free: 6.531 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.3998, allocations: 0 / 0.5572 GB, free: 6.531 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 4.185e-05/0.3998, allocations: 75.28 kB / 0.5573 GB, free: 6.457 MB / 398.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.3998, allocations: 0 / 0.5573 GB, free: 6.457 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.001235/0.4011, allocations: 275.5 kB / 0.5576 GB, free: 6.188 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.001482/0.4025, allocations: 429.4 kB / 0.558 GB, free: 5.773 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001236/0.4027, allocations: 59.41 kB / 0.558 GB, free: 5.703 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4027, allocations: 0 / 0.558 GB, free: 5.703 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.375e-05/0.4027, allocations: 63.45 kB / 0.5581 GB, free: 5.629 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.4028, allocations: 3.938 kB / 0.5581 GB, free: 5.625 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002035/0.4031, allocations: 73.08 kB / 0.5582 GB, free: 5.527 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.4034, allocations: 0.6727 MB / 0.5588 GB, free: 4.828 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 6.833e-06/0.4034, allocations: 0 / 0.5588 GB, free: 4.828 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.624e-05/0.4034, allocations: 11.44 kB / 0.5588 GB, free: 4.816 MB / 398.1 MB
Notification: Performance of SimCode: time 2.8e-07/0.4034, allocations: 0 / 0.5588 GB, free: 4.816 MB / 398.1 MB
Notification: Performance of Templates: time 0.0164/0.4198, allocations: 7.312 MB / 0.566 GB, free: 13.5 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480]
[Calling os._exit(0), Time elapsed: 5.60999084636569]
Failed to read output from testmodel.py, exit status != 0:
['time', 'result']
0.4284591665491462 0.44350877499999997 0.043211071000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f868a8917b0>