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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 207.6 MB / 231.9 MB, free: 3.188 MB / 174.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.05279/0.05279, allocations: 8.218 MB / 292.2 MB, free: 7.102 MB / 238.1 MB [Timeout remaining time 90] 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.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(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant") translateModel(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant") [Timeout 660] Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaByExample requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002272, allocations: 83.88 kB / 408.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2608, allocations: 50.89 MB / 459.8 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant): time 0.002646/0.2635, allocations: 1.902 MB / 461.7 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003092/0.2638, allocations: 142.8 kB / 461.9 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.33e-05/0.2638, allocations: 4.125 kB / 461.9 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.767e-05/0.2639, allocations: 26.53 kB / 461.9 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.279e-05/0.264, allocations: 43.69 kB / 461.9 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.2641, allocations: 41.45 kB / 462 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.2643, allocations: 172 kB / 462.1 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.2644, allocations: 71.39 kB / 462.2 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.705e-05/0.2645, allocations: 71.27 kB / 462.3 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.002e-05/0.2646, allocations: 68.33 kB / 462.3 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.2646, allocations: 16.5 kB / 462.4 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.814e-05/0.2646, allocations: 17.88 kB / 462.4 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.84e-05/0.2647, allocations: 39.97 kB / 462.4 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.593e-05/0.2648, allocations: 83.17 kB / 462.5 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.2649, allocations: 192.7 kB / 462.7 MB, free: 1.711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2649, allocations: 0 / 462.7 MB, free: 1.711 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2649, allocations: 0 / 462.7 MB, free: 1.711 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.2649, allocations: 0 / 462.7 MB, free: 1.711 MB / 318.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.0004929/0.2654, allocations: 453.8 kB / 463.1 MB, free: 1.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.2655, allocations: 12.19 kB / 463.1 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.59e-05/0.2655, allocations: 17.09 kB / 463.2 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.831e-05/0.2656, allocations: 189.6 kB / 463.3 MB, free: 1.039 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.2656, allocations: 11.12 kB / 463.3 MB, free: 1.035 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/0.2656, allocations: 19.62 kB / 463.4 MB, free: 1.027 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.2659, allocations: 156.3 kB / 463.5 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.2659, allocations: 1.5 kB / 463.5 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.2659, allocations: 9.25 kB / 463.5 MB, free: 0.918 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.266, allocations: 8.047 kB / 463.5 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.2661, allocations: 102.8 kB / 463.6 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007626/0.2669, allocations: 0.6791 MB / 464.3 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003932/0.2673, allocations: 213.2 kB / 464.5 MB, free: 84 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.2674, allocations: 88.2 kB / 464.6 MB, free: 32 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.2675, allocations: 2.781 kB / 464.6 MB, free: 32 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.2675, allocations: 39.86 kB / 464.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.2675, allocations: 0 / 464.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.000868/0.2684, allocations: 477.4 kB / 465.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.2684, allocations: 52.62 kB / 465.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.929e-05/0.2685, allocations: 128.1 kB / 465.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.2685, allocations: 26.67 kB / 465.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.092e-05/0.2686, allocations: 131.1 kB / 465.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.189e-05/0.2687, allocations: 66.28 kB / 465.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.247e-05/0.2688, allocations: 35.69 kB / 465.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.2689, allocations: 325 kB / 465.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.219e-05/0.269, allocations: 42.11 kB / 465.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.2691, allocations: 90.34 kB / 466 MB, free: 14.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.2694, allocations: 147.5 kB / 466.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2694, allocations: 0 / 466.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002893/0.2697, allocations: 179.6 kB / 466.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.2697, allocations: 5.844 kB / 466.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.2697, allocations: 5.25 kB / 466.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.2697, allocations: 3.281 kB / 466.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.2699, allocations: 52.44 kB / 466.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.2699, allocations: 2.375 kB / 466.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.393e-05/0.27, allocations: 10.28 kB / 466.4 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.27, allocations: 6.938 kB / 466.4 MB, free: 14.51 MB / 334.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 0.0001582/0.2702, allocations: 128.8 kB / 466.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.2702, allocations: 12.52 kB / 466.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.501e-05/0.2702, allocations: 17.98 kB / 466.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.2702, allocations: 2.219 kB / 466.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.2702, allocations: 0 / 466.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.2702, allocations: 5.188 kB / 466.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007107/0.271, allocations: 490.7 kB / 467 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.271, allocations: 0 / 467 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.2711, allocations: 45.58 kB / 467.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.2712, allocations: 5.062 kB / 467.1 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.2712, allocations: 5.094 kB / 467.1 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.2712, allocations: 1.219 kB / 467.1 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.2712, allocations: 3.984 kB / 467.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.2715, allocations: 270.7 kB / 467.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.818e-05/0.2716, allocations: 88.34 kB / 467.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.2716, allocations: 5.219 kB / 467.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.2717, allocations: 5.125 kB / 467.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-05/0.2717, allocations: 12.53 kB / 467.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.2718, allocations: 2.625 kB / 467.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.18e-05/0.2718, allocations: 92.52 kB / 467.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2718, allocations: 0 / 467.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002824/0.2721, allocations: 37.72 kB / 467.6 MB, free: 13.49 MB / 334.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 0.0001113/0.2722, allocations: 99.75 kB / 467.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002699/0.2725, allocations: 111.4 kB / 467.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.2725, allocations: 0 / 467.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.856e-05/0.2726, allocations: 65.23 kB / 467.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.2728, allocations: 9.891 kB / 467.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.2738, allocations: 0.544 MB / 468.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.2742, allocations: 0.7226 MB / 469.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.556e-05/0.2743, allocations: 16.41 kB / 469.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2743, allocations: 0 / 469.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of Templates: time 0.003432/0.2777, allocations: 1.598 MB / 470.8 MB, free: 11.31 MB / 334.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]