Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.TestVector2D.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.001538/0.001538, allocations: 110 kB / 18.93 MB, free: 2.945 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.533/1.533, allocations: 225.6 MB / 247.7 MB, free: 13.44 MB / 206.1 MB
"
[Timeout remaining time 178]
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.001558/0.001558, allocations: 196.3 kB / 303.1 MB, free: 8.699 MB / 238.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1-master/package.mo): time 0.04545/0.04545, allocations: 8.929 MB / 367.3 MB, free: 8.66 MB / 302.1 MB
"
[Timeout remaining time 180]
Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Classes.TestVector2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.TestVector2D")
translateModel(HanserModelica.Classes.TestVector2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.TestVector2D") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002439/0.002439, allocations: 85.08 kB / 491.8 MB, free: 9.805 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1144, allocations: 54.43 MB / 0.5334 GB, free: 13.71 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.002614/0.117, allocations: 1.208 MB / 0.5346 GB, free: 12.49 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0002246/0.1173, allocations: 51.78 kB / 0.5346 GB, free: 12.44 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 4.278e-05/0.1173, allocations: 4 kB / 0.5346 GB, free: 12.44 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000105/0.1174, allocations: 16.06 kB / 0.5346 GB, free: 12.42 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.1176, allocations: 7.922 kB / 0.5346 GB, free: 12.41 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 3.492e-05/0.1176, allocations: 3.984 kB / 0.5347 GB, free: 12.41 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 8.089e-05/0.1177, allocations: 15.94 kB / 0.5347 GB, free: 12.39 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.29e-05/0.1177, allocations: 0 / 0.5347 GB, free: 12.39 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 3.346e-05/0.1177, allocations: 7.938 kB / 0.5347 GB, free: 12.39 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 5.263e-05/0.1178, allocations: 7.984 kB / 0.5347 GB, free: 12.38 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.1178, allocations: 4 kB / 0.5347 GB, free: 12.38 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 7.875e-06/0.1178, allocations: 0 / 0.5347 GB, free: 12.38 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.347e-05/0.1178, allocations: 7.984 kB / 0.5347 GB, free: 12.37 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.707e-05/0.1179, allocations: 7.938 kB / 0.5347 GB, free: 12.36 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 9.026e-05/0.118, allocations: 19.86 kB / 0.5347 GB, free: 12.34 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.118, allocations: 0 / 0.5347 GB, free: 12.34 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.393e-06/0.118, allocations: 0 / 0.5347 GB, free: 12.34 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 6.732e-06/0.118, allocations: 0 / 0.5347 GB, free: 12.34 MB / 350.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 2
 * Number of variables: 2
Notification: Performance of Generate backend data structure: time 0.0004605/0.1184, allocations: 254.4 kB / 0.535 GB, free: 12.06 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.1185, allocations: 8.031 kB / 0.535 GB, free: 12.05 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.1185, allocations: 8.938 kB / 0.535 GB, free: 12.04 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.1187, allocations: 114.5 kB / 0.5351 GB, free: 11.91 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.1187, allocations: 4.375 kB / 0.5351 GB, free: 11.9 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.1187, allocations: 4.312 kB / 0.5351 GB, free: 11.9 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.1188, allocations: 43.97 kB / 0.5351 GB, free: 11.84 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1189, allocations: 192 / 0.5351 GB, free: 11.84 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1189, allocations: 3.938 kB / 0.5351 GB, free: 11.84 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1189, allocations: 0 / 0.5351 GB, free: 11.84 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.306e-05/0.1189, allocations: 12 kB / 0.5352 GB, free: 11.83 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003156/0.1192, allocations: 137.6 kB / 0.5353 GB, free: 11.65 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 6.755e-05/0.1193, allocations: 29.16 kB / 0.5353 GB, free: 11.6 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 2.65e-05/0.1193, allocations: 21.83 kB / 0.5353 GB, free: 11.57 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.1193, allocations: 0 / 0.5353 GB, free: 11.57 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.1193, allocations: 38.5 kB / 0.5354 GB, free: 11.53 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.1193, allocations: 0 / 0.5354 GB, free: 11.53 MB / 350.1 MB
Notification: Performance of matching and sorting (n=2): time 0.0001491/0.1195, allocations: 49.62 kB / 0.5354 GB, free: 11.47 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/0.1196, allocations: 81.05 kB / 0.5355 GB, free: 11.38 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.1197, allocations: 97.86 kB / 0.5356 GB, free: 11.27 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.1197, allocations: 29.7 kB / 0.5356 GB, free: 11.23 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.441e-05/0.1197, allocations: 84.39 kB / 0.5357 GB, free: 11.15 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.1198, allocations: 11.89 kB / 0.5357 GB, free: 11.14 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.1198, allocations: 17.72 kB / 0.5357 GB, free: 11.11 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001489/0.1199, allocations: 310.8 kB / 0.536 GB, free: 10.8 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.12, allocations: 8 kB / 0.536 GB, free: 10.79 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.066e-05/0.12, allocations: 31.36 kB / 0.5361 GB, free: 10.75 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 7.035e-05/0.1201, allocations: 51.31 kB / 0.5361 GB, free: 10.69 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.1201, allocations: 0 / 0.5361 GB, free: 10.69 MB / 350.1 MB
Notification: Performance of matching and sorting (n=4) (initialization): time 8.772e-05/0.1201, allocations: 57.62 kB / 0.5362 GB, free: 10.62 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1202, allocations: 8 kB / 0.5362 GB, free: 10.62 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1202, allocations: 3.938 kB / 0.5362 GB, free: 10.61 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1202, allocations: 4.125 kB / 0.5362 GB, free: 10.61 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.887e-05/0.1202, allocations: 11.94 kB / 0.5362 GB, free: 10.6 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1202, allocations: 0 / 0.5362 GB, free: 10.6 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.235e-05/0.1203, allocations: 7.938 kB / 0.5362 GB, free: 10.59 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.1203, allocations: 4 kB / 0.5362 GB, free: 10.59 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (4):
 * Single equations (assignments): 4
 * Array equations: 0
 * Algorithm blocks: 0
 * 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 7.836e-05/0.1203, allocations: 105.8 kB / 0.5363 GB, free: 10.47 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.1204, allocations: 7.984 kB / 0.5363 GB, free: 10.46 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.905e-05/0.1204, allocations: 11.09 kB / 0.5363 GB, free: 10.46 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.1204, allocations: 0 / 0.5363 GB, free: 10.46 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.992e-05/0.1204, allocations: 8 kB / 0.5363 GB, free: 10.45 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1204, allocations: 0 / 0.5363 GB, free: 10.45 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.1206, allocations: 128.7 kB / 0.5365 GB, free: 10.28 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1206, allocations: 0 / 0.5365 GB, free: 10.28 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.68e-05/0.1206, allocations: 8 kB / 0.5365 GB, free: 10.27 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.1206, allocations: 0 / 0.5365 GB, free: 10.27 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.1206, allocations: 3.938 kB / 0.5365 GB, free: 10.27 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1206, allocations: 3.984 kB / 0.5365 GB, free: 10.27 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.1206, allocations: 7.938 kB / 0.5365 GB, free: 10.26 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.1208, allocations: 78.22 kB / 0.5365 GB, free: 10.16 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.1208, allocations: 3.984 kB / 0.5366 GB, free: 10.16 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.1208, allocations: 7.969 kB / 0.5366 GB, free: 10.15 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.236e-05/0.1208, allocations: 0 / 0.5366 GB, free: 10.15 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.225e-05/0.1208, allocations: 0 / 0.5366 GB, free: 10.15 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.1208, allocations: 4 kB / 0.5366 GB, free: 10.14 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 4.947e-05/0.1209, allocations: 83.27 kB / 0.5366 GB, free: 10.06 MB / 350.1 MB
Notification: Performance of sort global known variables: time 9.1e-08/0.1209, allocations: 4.094 kB / 0.5366 GB, free: 10.06 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0001921/0.1211, allocations: 4 kB / 0.5366 GB, free: 10.05 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 2 (v.y,v.x)
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (2):
 * Single equations (assignments): 2
 * Array equations: 0
 * Algorithm blocks: 0
 * 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.0001027/0.1212, allocations: 91.25 kB / 0.5367 GB, free: 9.953 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 9.222e-05/0.1213, allocations: 19.94 kB / 0.5368 GB, free: 9.934 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1213, allocations: 0 / 0.5368 GB, free: 9.934 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 1.187e-05/0.1213, allocations: 11.88 kB / 0.5368 GB, free: 9.922 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.1214, allocations: 4.375 kB / 0.5368 GB, free: 9.918 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003549/0.1218, allocations: 143.6 kB / 0.5369 GB, free: 9.746 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.1222, allocations: 0.6844 MB / 0.5376 GB, free: 9.035 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 2.277e-05/0.1222, allocations: 0 / 0.5376 GB, free: 9.035 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.1222, allocations: 11.38 kB / 0.5376 GB, free: 9.023 MB / 350.1 MB
Notification: Performance of SimCode: time 2.9e-07/0.1222, allocations: 0 / 0.5376 GB, free: 9.023 MB / 350.1 MB
Notification: Performance of Templates: time 0.002657/0.1249, allocations: 317 kB / 0.5379 GB, free: 8.715 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f HanserModelica_HanserModelica.Classes.TestVector2D.makefile [Timeout 660]
(rm -f HanserModelica_HanserModelica.Classes.TestVector2D.pipe ; mkfifo HanserModelica_HanserModelica.Classes.TestVector2D.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.TestVector2D.pipe >> ../files/HanserModelica_HanserModelica.Classes.TestVector2D.sim & ./HanserModelica_HanserModelica.Classes.TestVector2D  -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Classes.TestVector2D.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.762824433855712]
Failed to read output from testmodel.py, exit status != 0:
0.13257113751024008 0.146963542 0.026078113
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fe756b017b0>