Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 79.36 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 161 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.288/1.288, allocations: 158.6 MB / 184.2 MB, free: 6.383 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04925/0.04925, allocations: 6.391 MB / 242.9 MB, free: 12.75 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant") translateModel(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 360.3 MB, free: 11.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.844e-05, allocations: 2.281 kB / 360.3 MB, free: 11.03 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant): time 0.002622/0.00265, allocations: 1.824 MB / 362.2 MB, free: 9.188 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000326/0.002976, allocations: 143.5 kB / 362.3 MB, free: 9.047 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.724e-05/0.003054, allocations: 4 kB / 362.3 MB, free: 9.043 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.583e-05/0.003119, allocations: 23.73 kB / 362.3 MB, free: 9.02 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.003227, allocations: 47.55 kB / 362.4 MB, free: 8.973 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.003402, allocations: 39.94 kB / 362.4 MB, free: 8.934 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.003579, allocations: 179.2 kB / 362.6 MB, free: 8.758 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.003761, allocations: 61.98 kB / 362.6 MB, free: 8.695 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.787e-05/0.003858, allocations: 107.8 kB / 362.8 MB, free: 8.59 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.003962, allocations: 47.88 kB / 362.8 MB, free: 8.543 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.215e-05/0.003994, allocations: 16 kB / 362.8 MB, free: 8.527 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.028e-05/0.004024, allocations: 20 kB / 362.8 MB, free: 8.508 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.559e-05/0.00406, allocations: 39.83 kB / 362.9 MB, free: 8.469 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.043e-05/0.00412, allocations: 55.91 kB / 362.9 MB, free: 8.414 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.004311, allocations: 195.4 kB / 363.1 MB, free: 8.223 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.004314, allocations: 0 / 363.1 MB, free: 8.223 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.004314, allocations: 0 / 363.1 MB, free: 8.223 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.004319, allocations: 7.938 kB / 363.1 MB, free: 8.215 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.000518/0.004837, allocations: 377.7 kB / 363.5 MB, free: 7.812 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.004876, allocations: 15.92 kB / 363.5 MB, free: 7.797 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.816e-05/0.004924, allocations: 20.84 kB / 363.5 MB, free: 7.777 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.42e-05/0.005018, allocations: 121.6 kB / 363.6 MB, free: 7.633 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.005037, allocations: 16.31 kB / 363.7 MB, free: 7.617 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.821e-05/0.005075, allocations: 24.33 kB / 363.7 MB, free: 7.594 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.005323, allocations: 154.2 kB / 363.8 MB, free: 7.438 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.00534, allocations: 192 / 363.8 MB, free: 7.438 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.00536, allocations: 12.38 kB / 363.8 MB, free: 7.426 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.005367, allocations: 4.375 kB / 363.9 MB, free: 7.422 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.005519, allocations: 103.8 kB / 364 MB, free: 7.32 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007753/0.006294, allocations: 0.5374 MB / 364.5 MB, free: 6.742 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003575/0.006652, allocations: 142.4 kB / 364.6 MB, free: 6.594 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.006828, allocations: 80.77 kB / 364.7 MB, free: 6.512 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.006845, allocations: 7.938 kB / 364.7 MB, free: 6.504 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.006862, allocations: 34.55 kB / 364.8 MB, free: 6.461 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.006864, allocations: 0 / 364.8 MB, free: 6.461 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006901/0.007554, allocations: 410.8 kB / 365.2 MB, free: 6.031 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.007584, allocations: 59.41 kB / 365.2 MB, free: 5.961 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.483e-05/0.007649, allocations: 117.8 kB / 365.3 MB, free: 5.836 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.00766, allocations: 25.7 kB / 365.4 MB, free: 5.805 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.492e-05/0.007705, allocations: 140.1 kB / 365.5 MB, free: 5.66 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.007732, allocations: 52.16 kB / 365.5 MB, free: 5.609 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.007782, allocations: 41.7 kB / 365.6 MB, free: 5.562 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.511e-05/0.007827, allocations: 326.8 kB / 365.9 MB, free: 5.234 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.989e-05/0.007887, allocations: 39.98 kB / 365.9 MB, free: 5.195 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.7e-05/0.007964, allocations: 91.31 kB / 366 MB, free: 5.09 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.008111, allocations: 148 kB / 366.2 MB, free: 4.93 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.008113, allocations: 7.938 kB / 366.2 MB, free: 4.922 MB / 286.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000201/0.008314, allocations: 177.4 kB / 366.4 MB, free: 4.742 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.008327, allocations: 8 kB / 366.4 MB, free: 4.734 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.008331, allocations: 0 / 366.4 MB, free: 4.734 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/0.008358, allocations: 4 kB / 366.4 MB, free: 4.73 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.008519, allocations: 56.06 kB / 366.4 MB, free: 4.676 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.008528, allocations: 4 kB / 366.4 MB, free: 4.672 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.39e-05/0.008582, allocations: 0 / 366.4 MB, free: 4.672 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.008594, allocations: 12 kB / 366.4 MB, free: 4.66 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (25): * Single equations (assignments): 25 * 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 9.151e-05/0.008686, allocations: 133.7 kB / 366.6 MB, free: 4.52 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.008716, allocations: 7.953 kB / 366.6 MB, free: 4.512 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.901e-05/0.008765, allocations: 12.78 kB / 366.6 MB, free: 4.504 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.008769, allocations: 4 kB / 366.6 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.008775, allocations: 0 / 366.6 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.008781, allocations: 3.984 kB / 366.6 MB, free: 4.496 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004599/0.009241, allocations: 417.9 kB / 367 MB, free: 4.051 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.009242, allocations: 0 / 367 MB, free: 4.051 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.009412, allocations: 35.98 kB / 367 MB, free: 4.016 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.009415, allocations: 4 kB / 367 MB, free: 4.012 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.009427, allocations: 0 / 367 MB, free: 4.012 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.009428, allocations: 0 / 367 MB, free: 4.012 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.00943, allocations: 80 / 367 MB, free: 4.012 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.009685, allocations: 279.3 kB / 367.3 MB, free: 3.723 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.289e-05/0.009698, allocations: 15.91 kB / 367.3 MB, free: 3.707 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.009717, allocations: 4 kB / 367.3 MB, free: 3.703 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.07e-05/0.009788, allocations: 8 kB / 367.3 MB, free: 3.695 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.413e-05/0.009812, allocations: 11.97 kB / 367.4 MB, free: 3.684 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.009818, allocations: 4 kB / 367.4 MB, free: 3.68 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.22e-05/0.00985, allocations: 95.27 kB / 367.4 MB, free: 3.586 MB / 286.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.00985, allocations: 0 / 367.4 MB, free: 3.586 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.0101, allocations: 32 kB / 367.5 MB, free: 3.555 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (inertia2.flange_a.phi,inertia2.w,inertia1.flange_a.phi,inertia1.w) * 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 (16): * Single equations (assignments): 16 * 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 8.032e-05/0.01018, allocations: 103.2 kB / 367.6 MB, free: 3.441 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.01037, allocations: 120.8 kB / 367.7 MB, free: 3.324 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01037, allocations: 0 / 367.7 MB, free: 3.324 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.671e-05/0.01043, allocations: 51.58 kB / 367.8 MB, free: 3.277 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.01068, allocations: 8 kB / 367.8 MB, free: 3.27 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000765/0.01144, allocations: 446 kB / 368.2 MB, free: 2.809 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.698e-05/0.01152, allocations: 103.4 kB / 368.3 MB, free: 2.688 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.046e-05/0.01156, allocations: 17.14 kB / 368.3 MB, free: 2.672 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.288e-05/0.0116, allocations: 12.5 kB / 368.3 MB, free: 2.66 MB / 286.1 MB Notification: Performance of SimCode: time 3.3e-07/0.01161, allocations: 4 kB / 368.3 MB, free: 2.656 MB / 286.1 MB Notification: Performance of Templates: time 0.004031/0.01564, allocations: 0.9039 MB / 369.2 MB, free: 1.754 MB / 286.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.makefile [Timeout 660] (rm -f ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.sim & ./ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.196490123867989] Failed to read output from testmodel.py, exit status != 0: 0.022410154342651367 0.038471178 0.031270212 Calling exit ...