Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001229/0.001229, allocations: 105.1 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.001312/0.001312, allocations: 213.7 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.354/1.354, allocations: 230.3 MB / 258 MB, free: 8.254 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.2182/0.2182, allocations: 46.89 MB / 361.3 MB, free: 4.461 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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b")
translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 75.88 kB / 0.497 GB, free: 7.621 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3334, allocations: 66.02 MB / 0.5615 GB, free: 4.625 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.0017/0.3351, allocations: 0.4993 MB / 0.562 GB, free: 4.129 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003562/0.3387, allocations: 2.168 MB / 0.5641 GB, free: 1.941 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.449e-05/0.3387, allocations: 0 / 0.5641 GB, free: 1.941 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.947e-05/0.3387, allocations: 3.938 kB / 0.5641 GB, free: 1.938 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 6.502e-06/0.3387, allocations: 0 / 0.5641 GB, free: 1.938 MB / 398.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.002232/0.341, allocations: 0.7596 MB / 0.5649 GB, free: 1.184 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 4.352e-05/0.341, allocations: 0 / 0.5649 GB, free: 1.184 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 3.73e-05/0.3411, allocations: 7.938 kB / 0.5649 GB, free: 1.176 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 1.367e-05/0.3411, allocations: 0 / 0.5649 GB, free: 1.176 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 1.657e-05/0.3411, allocations: 4 kB / 0.5649 GB, free: 1.172 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.391e-06/0.3411, allocations: 4 kB / 0.5649 GB, free: 1.168 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002353/0.3434, allocations: 1.708 MB / 0.5665 GB, free: 15.46 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.617e-06/0.3434, allocations: 0 / 0.5665 GB, free: 15.46 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.115e-05/0.3435, allocations: 0 / 0.5665 GB, free: 15.46 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001621/0.3451, allocations: 1.57 MB / 0.5681 GB, free: 13.89 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3451, allocations: 0 / 0.5681 GB, free: 13.89 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.262e-06/0.3451, allocations: 8 kB / 0.5681 GB, free: 13.88 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 1.017e-05/0.3451, allocations: 0 / 0.5681 GB, free: 13.88 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.0006041/0.3457, allocations: 339.4 kB / 0.5684 GB, free: 13.52 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.3457, allocations: 8.031 kB / 0.5684 GB, free: 13.51 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.726e-05/0.3458, allocations: 0.9375 kB / 0.5684 GB, free: 13.51 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.192e-05/0.3459, allocations: 110.5 kB / 0.5685 GB, free: 13.38 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.3459, allocations: 384 / 0.5685 GB, free: 13.38 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.3459, allocations: 384 / 0.5685 GB, free: 13.38 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.669e-05/0.346, allocations: 38 kB / 0.5686 GB, free: 13.33 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.346, allocations: 4 kB / 0.5686 GB, free: 13.33 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.346, allocations: 0 / 0.5686 GB, free: 13.33 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.346, allocations: 0 / 0.5686 GB, free: 13.33 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.943e-05/0.346, allocations: 3.938 kB / 0.5686 GB, free: 13.32 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001236/0.3461, allocations: 124.7 kB / 0.5687 GB, free: 13.16 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 5.066e-05/0.3462, allocations: 14.58 kB / 0.5687 GB, free: 13.14 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 1.336e-05/0.3462, allocations: 4.859 kB / 0.5687 GB, free: 13.13 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.3462, allocations: 3.984 kB / 0.5687 GB, free: 13.12 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.608e-05/0.3463, allocations: 72.3 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=1): time 1.203e-06/0.3463, allocations: 0 / 0.5688 GB, free: 13.04 MB / 414.1 MB
Notification: Performance of matching and sorting (n=1): time 0.0001782/0.3464, allocations: 67.3 kB / 0.5688 GB, free: 12.96 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/0.3465, allocations: 77.11 kB / 0.5689 GB, free: 12.87 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.451e-05/0.3465, allocations: 89.86 kB / 0.569 GB, free: 12.77 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.3466, allocations: 29.69 kB / 0.569 GB, free: 12.73 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.3466, allocations: 84.12 kB / 0.5691 GB, free: 12.65 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.3466, allocations: 4.125 kB / 0.5691 GB, free: 12.64 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.3466, allocations: 17.72 kB / 0.5691 GB, free: 12.62 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001402/0.3468, allocations: 310.8 kB / 0.5694 GB, free: 12.31 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.305e-06/0.3468, allocations: 0 / 0.5694 GB, free: 12.31 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.529e-06/0.3468, allocations: 0 / 0.5694 GB, free: 12.31 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 5.359e-05/0.3469, allocations: 60.27 kB / 0.5695 GB, free: 12.23 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.3469, allocations: 0 / 0.5695 GB, free: 12.23 MB / 414.1 MB
Notification: Performance of matching and sorting (n=1) (initialization): time 8.18e-05/0.3469, allocations: 71.33 kB / 0.5696 GB, free: 12.15 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/0.347, allocations: 37.73 kB / 0.5696 GB, free: 12.11 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.347, allocations: 7.938 kB / 0.5696 GB, free: 12.1 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.347, allocations: 0 / 0.5696 GB, free: 12.1 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.92e-07/0.347, allocations: 0 / 0.5696 GB, free: 12.1 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.347, allocations: 0 / 0.5696 GB, free: 12.1 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.455e-05/0.347, allocations: 0 / 0.5696 GB, free: 12.1 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.347, allocations: 0 / 0.5696 GB, free: 12.1 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.028e-05/0.3471, allocations: 139.5 kB / 0.5697 GB, free: 11.95 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-06/0.3471, allocations: 3.938 kB / 0.5697 GB, free: 11.95 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.569e-05/0.3471, allocations: 7 kB / 0.5697 GB, free: 11.94 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3471, allocations: 0 / 0.5697 GB, free: 11.94 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.3471, allocations: 0 / 0.5697 GB, free: 11.94 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.3471, allocations: 0 / 0.5697 GB, free: 11.94 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.945e-05/0.3472, allocations: 116.8 kB / 0.5699 GB, free: 11.78 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.42e-07/0.3472, allocations: 0 / 0.5699 GB, free: 11.78 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.385e-06/0.3472, allocations: 3.984 kB / 0.5699 GB, free: 11.78 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.3472, allocations: 7.938 kB / 0.5699 GB, free: 11.77 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.3472, allocations: 3.938 kB / 0.5699 GB, free: 11.77 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.3472, allocations: 4 kB / 0.5699 GB, free: 11.76 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3472, allocations: 0 / 0.5699 GB, free: 11.76 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.3473, allocations: 94.78 kB / 0.57 GB, free: 11.64 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.827e-06/0.3474, allocations: 7.984 kB / 0.57 GB, free: 11.64 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.3474, allocations: 3.938 kB / 0.57 GB, free: 11.63 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.296e-06/0.3474, allocations: 0 / 0.57 GB, free: 11.63 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.342e-05/0.3474, allocations: 0 / 0.57 GB, free: 11.63 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.3474, allocations: 0 / 0.57 GB, free: 11.63 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 3.371e-05/0.3474, allocations: 79.28 kB / 0.57 GB, free: 11.55 MB / 414.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3474, allocations: 4.031 kB / 0.5701 GB, free: 11.55 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0008163/0.3482, allocations: 275.6 kB / 0.5703 GB, free: 11.28 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.001295/0.3495, allocations: 415.5 kB / 0.5707 GB, free: 10.88 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001001/0.3496, allocations: 63.39 kB / 0.5708 GB, free: 10.8 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.3496, allocations: 4 kB / 0.5708 GB, free: 10.8 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.255e-05/0.3497, allocations: 55.34 kB / 0.5708 GB, free: 10.73 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001178/0.3498, allocations: 4 kB / 0.5708 GB, free: 10.73 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001839/0.35, allocations: 81.12 kB / 0.5709 GB, free: 10.62 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.3503, allocations: 0.6729 MB / 0.5716 GB, free: 9.922 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 6.443e-06/0.3503, allocations: 0 / 0.5716 GB, free: 9.922 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.187e-05/0.3503, allocations: 11.38 kB / 0.5716 GB, free: 9.91 MB / 414.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.3503, allocations: 0 / 0.5716 GB, free: 9.91 MB / 414.1 MB
Notification: Performance of Templates: time 0.01359/0.3639, allocations: 7.308 MB / 0.5787 GB, free: 2.594 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480]
[Calling os._exit(0), Time elapsed: 5.082530274987221]
Failed to read output from testmodel.py, exit status != 0:
['time', 'result']
0.37198465783149004 0.386653938 0.038340438000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f85e28397b0>