Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001753/0.001753, allocations: 110.5 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.002037/0.002037, allocations: 213.2 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.513/1.513, allocations: 230.3 MB / 258 MB, free: 8.176 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.2654/0.2654, allocations: 46.94 MB / 361.4 MB, free: 4.367 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.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2")
translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2") [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.002399/0.002399, allocations: 79.88 kB / 0.4971 GB, free: 7.5 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3885, allocations: 66.04 MB / 0.5616 GB, free: 4.5 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001753/0.3903, allocations: 493 kB / 0.5621 GB, free: 4.02 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.008028/0.3983, allocations: 4.965 MB / 0.567 GB, free: 15.03 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 1.721e-05/0.3983, allocations: 4 kB / 0.567 GB, free: 15.03 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.997e-05/0.3984, allocations: 0 / 0.567 GB, free: 15.03 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 5.561e-06/0.3984, allocations: 0 / 0.567 GB, free: 15.03 MB / 414.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.008281/0.4066, allocations: 3.266 MB / 0.5701 GB, free: 11.77 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 7.14e-05/0.4067, allocations: 4 kB / 0.5702 GB, free: 11.76 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.523e-05/0.4068, allocations: 0 / 0.5702 GB, free: 11.76 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 1.623e-05/0.4068, allocations: 0 / 0.5702 GB, free: 11.76 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 1.681e-05/0.4068, allocations: 0 / 0.5702 GB, free: 11.76 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.222e-06/0.4068, allocations: 4 kB / 0.5702 GB, free: 11.76 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0369/0.4437, allocations: 21.05 MB / 0.5907 GB, free: 6.684 MB / 430.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.4437, allocations: 0 / 0.5907 GB, free: 6.684 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.627e-05/0.4437, allocations: 11.94 kB / 0.5907 GB, free: 6.672 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.04234/0.4861, allocations: 27.61 MB / 0.6177 GB, free: 11.02 MB / 462.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.4861, allocations: 0 / 0.6177 GB, free: 11.02 MB / 462.1 MB
Notification: Performance of FrontEnd: time 1.904e-06/0.4861, allocations: 0 / 0.6177 GB, free: 11.02 MB / 462.1 MB
Notification: Performance of Transformations before backend: time 7.564e-06/0.4861, allocations: 0 / 0.6177 GB, free: 11.02 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.007949/0.494, allocations: 0.5944 MB / 0.6183 GB, free: 10.39 MB / 462.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.4941, allocations: 8.031 kB / 0.6183 GB, free: 10.38 MB / 462.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.4941, allocations: 0.9375 kB / 0.6183 GB, free: 10.38 MB / 462.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.773e-05/0.4942, allocations: 109.9 kB / 0.6184 GB, free: 10.25 MB / 462.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.447e-06/0.4942, allocations: 7.875 kB / 0.6184 GB, free: 10.24 MB / 462.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.4942, allocations: 4 kB / 0.6184 GB, free: 10.23 MB / 462.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.4943, allocations: 33.69 kB / 0.6184 GB, free: 10.2 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.4944, allocations: 0 / 0.6184 GB, free: 10.2 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.4944, allocations: 0 / 0.6184 GB, free: 10.2 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.4944, allocations: 0 / 0.6184 GB, free: 10.2 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.118e-05/0.4944, allocations: 4 kB / 0.6184 GB, free: 10.19 MB / 462.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.4946, allocations: 120.7 kB / 0.6185 GB, free: 10.03 MB / 462.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 5.556e-05/0.4946, allocations: 22.52 kB / 0.6186 GB, free: 10 MB / 462.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 1.996e-05/0.4946, allocations: 8.844 kB / 0.6186 GB, free: 9.988 MB / 462.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 5.04e-06/0.4946, allocations: 4.094 kB / 0.6186 GB, free: 9.984 MB / 462.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.152e-05/0.4947, allocations: 60.27 kB / 0.6186 GB, free: 9.91 MB / 462.1 MB
Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.4947, allocations: 0 / 0.6186 GB, free: 9.91 MB / 462.1 MB
Notification: Performance of matching and sorting (n=1): time 0.0002019/0.4949, allocations: 59.41 kB / 0.6187 GB, free: 9.84 MB / 462.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.495, allocations: 77.11 kB / 0.6188 GB, free: 9.746 MB / 462.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.836e-05/0.495, allocations: 93.97 kB / 0.6189 GB, free: 9.645 MB / 462.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.495, allocations: 29.7 kB / 0.6189 GB, free: 9.609 MB / 462.1 MB
Notification: Performance of collectInitialEqns (initialization): time 3.708e-05/0.4951, allocations: 80.14 kB / 0.619 GB, free: 9.527 MB / 462.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.4951, allocations: 0 / 0.619 GB, free: 9.527 MB / 462.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.4951, allocations: 17.72 kB / 0.619 GB, free: 9.504 MB / 462.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001499/0.4953, allocations: 318.7 kB / 0.6193 GB, free: 9.184 MB / 462.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.467e-06/0.4953, allocations: 0 / 0.6193 GB, free: 9.184 MB / 462.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.594e-06/0.4953, allocations: 4 kB / 0.6193 GB, free: 9.18 MB / 462.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 6.295e-05/0.4953, allocations: 64.33 kB / 0.6193 GB, free: 9.102 MB / 462.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4953, allocations: 0 / 0.6193 GB, free: 9.102 MB / 462.1 MB
Notification: Performance of matching and sorting (n=1) (initialization): time 7.857e-05/0.4954, allocations: 63.39 kB / 0.6194 GB, free: 9.027 MB / 462.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.92e-05/0.4955, allocations: 36.2 kB / 0.6194 GB, free: 8.988 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.4955, allocations: 0 / 0.6194 GB, free: 8.988 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.4955, allocations: 0 / 0.6194 GB, free: 8.988 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.4955, allocations: 0 / 0.6194 GB, free: 8.988 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.4955, allocations: 0 / 0.6194 GB, free: 8.988 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.735e-05/0.4955, allocations: 0 / 0.6194 GB, free: 8.988 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.4955, allocations: 7.938 kB / 0.6194 GB, free: 8.98 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 0.0001109/0.4956, allocations: 148.3 kB / 0.6196 GB, free: 8.82 MB / 462.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-06/0.4956, allocations: 0 / 0.6196 GB, free: 8.82 MB / 462.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.429e-05/0.4957, allocations: 7 kB / 0.6196 GB, free: 8.812 MB / 462.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-06/0.4957, allocations: 7.938 kB / 0.6196 GB, free: 8.805 MB / 462.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4957, allocations: 0 / 0.6196 GB, free: 8.805 MB / 462.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.4957, allocations: 0 / 0.6196 GB, free: 8.805 MB / 462.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.4958, allocations: 116.7 kB / 0.6197 GB, free: 8.648 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.4958, allocations: 3.984 kB / 0.6197 GB, free: 8.645 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.4958, allocations: 0 / 0.6197 GB, free: 8.645 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.4958, allocations: 8 kB / 0.6197 GB, free: 8.637 MB / 462.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.4958, allocations: 7.984 kB / 0.6197 GB, free: 8.629 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.4958, allocations: 0 / 0.6197 GB, free: 8.629 MB / 462.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4958, allocations: 0 / 0.6197 GB, free: 8.629 MB / 462.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.4959, allocations: 94.77 kB / 0.6198 GB, free: 8.512 MB / 462.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.783e-06/0.4959, allocations: 3.938 kB / 0.6198 GB, free: 8.508 MB / 462.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.4959, allocations: 0 / 0.6198 GB, free: 8.508 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.396e-06/0.4959, allocations: 0 / 0.6198 GB, free: 8.508 MB / 462.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/0.4959, allocations: 11.97 kB / 0.6198 GB, free: 8.496 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.4959, allocations: 0 / 0.6198 GB, free: 8.496 MB / 462.1 MB
Notification: Performance of sorting global known variables: time 4.157e-05/0.496, allocations: 75.28 kB / 0.6199 GB, free: 8.422 MB / 462.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.496, allocations: 0 / 0.6199 GB, free: 8.422 MB / 462.1 MB
Notification: Performance of remove unused functions: time 0.0139/0.5099, allocations: 3.787 MB / 0.6236 GB, free: 4.633 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.02564/0.5355, allocations: 0.9771 MB / 0.6246 GB, free: 3.656 MB / 462.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001619/0.5357, allocations: 67.34 kB / 0.6246 GB, free: 3.578 MB / 462.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.5357, allocations: 0 / 0.6246 GB, free: 3.578 MB / 462.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.967e-05/0.5357, allocations: 67.27 kB / 0.6247 GB, free: 3.5 MB / 462.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.5359, allocations: 0 / 0.6247 GB, free: 3.5 MB / 462.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002208/0.5361, allocations: 77.06 kB / 0.6248 GB, free: 3.398 MB / 462.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.5364, allocations: 0.669 MB / 0.6254 GB, free: 2.703 MB / 462.1 MB
Notification: Performance of simCode: alias equations: time 8.145e-06/0.5364, allocations: 4 kB / 0.6254 GB, free: 2.699 MB / 462.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.397e-05/0.5364, allocations: 7.438 kB / 0.6254 GB, free: 2.691 MB / 462.1 MB
Notification: Performance of SimCode: time 6.11e-07/0.5364, allocations: 128 / 0.6254 GB, free: 2.691 MB / 462.1 MB
Notification: Performance of Templates: time 0.1896/0.726, allocations: 112.6 MB / 0.7354 GB, free: 1.871 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 480]
[Calling os._exit(0), Time elapsed: 15.050120055675507]
Failed to read output from testmodel.py, exit status != 0:
['time', 'result']
0.734556945040822 0.9613543999999999 0.47274691300000005
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f5855cb57b0>