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.001109/0.001109, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004753/0.005862, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001083/0.001083, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003615/0.004698, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.8257/0.8257, allocations: 158.6 MB / 171 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1284/0.9541, allocations: 49.49 MB / 220.5 MB, free: 1.457 MB / 218.7 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.03457/0.03457, allocations: 6.407 MB / 227.7 MB, free: 10.34 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01224/0.0468, allocations: 2.173 MB / 229.8 MB, free: 8.152 MB / 234.7 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.533e-06/1.533e-06, allocations: 0 / 231 MB, free: 6.973 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.169e-05, allocations: 2.312 kB / 231 MB, free: 6.969 MB / 234.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant): time 0.003182/0.003203, allocations: 1.972 MB / 233 MB, free: 4.984 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003709/0.003574, allocations: 159.3 kB / 233.1 MB, free: 4.828 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.081e-05/0.003635, allocations: 4 kB / 233.2 MB, free: 4.824 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.989e-05/0.003695, allocations: 23.78 kB / 233.2 MB, free: 4.801 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.41e-05/0.003789, allocations: 39.58 kB / 233.2 MB, free: 4.762 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000111/0.0039, allocations: 39.94 kB / 233.3 MB, free: 4.723 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.004088, allocations: 187.1 kB / 233.4 MB, free: 4.539 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.004242, allocations: 58.44 kB / 233.5 MB, free: 4.48 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.004389, allocations: 107.8 kB / 233.6 MB, free: 4.375 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.004495, allocations: 59.8 kB / 233.7 MB, free: 4.316 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.537e-05/0.00453, allocations: 20 kB / 233.7 MB, free: 4.297 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.511e-05/0.004556, allocations: 16 kB / 233.7 MB, free: 4.281 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.935e-05/0.004585, allocations: 23.94 kB / 233.7 MB, free: 4.258 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.729e-05/0.004652, allocations: 55.88 kB / 233.8 MB, free: 4.203 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.004831, allocations: 99.67 kB / 233.9 MB, free: 4.105 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.535e-05/0.004847, allocations: 0 / 233.9 MB, free: 4.105 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004847, allocations: 3.938 kB / 233.9 MB, free: 4.102 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.004862, allocations: 4 kB / 233.9 MB, free: 4.098 MB / 234.7 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.0005255/0.005387, allocations: 391.9 kB / 234.3 MB, free: 3.688 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.005419, allocations: 8.031 kB / 234.3 MB, free: 3.68 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.128e-05/0.00547, allocations: 24.92 kB / 234.3 MB, free: 3.656 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.005573, allocations: 129.6 kB / 234.4 MB, free: 3.504 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.005591, allocations: 12.38 kB / 234.4 MB, free: 3.492 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.685e-05/0.005627, allocations: 20.36 kB / 234.4 MB, free: 3.473 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002919/0.005919, allocations: 110.2 kB / 234.6 MB, free: 3.359 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.005933, allocations: 4.141 kB / 234.6 MB, free: 3.355 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.005947, allocations: 8.375 kB / 234.6 MB, free: 3.348 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.005955, allocations: 4.375 kB / 234.6 MB, free: 3.344 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.336e-05/0.006048, allocations: 55.81 kB / 234.6 MB, free: 3.289 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007525/0.006801, allocations: 475.6 kB / 235.1 MB, free: 2.789 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.007073, allocations: 110.4 kB / 235.2 MB, free: 2.672 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.007202, allocations: 60.81 kB / 235.3 MB, free: 2.609 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.007213, allocations: 0 / 235.3 MB, free: 2.609 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.007238, allocations: 34.56 kB / 235.3 MB, free: 2.566 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 1.653e-06/0.007239, allocations: 0 / 235.3 MB, free: 2.566 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005971/0.007837, allocations: 305.2 kB / 235.6 MB, free: 2.234 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.00787, allocations: 55.41 kB / 235.6 MB, free: 2.168 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.914e-05/0.007949, allocations: 134.5 kB / 235.8 MB, free: 2.023 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.007962, allocations: 25.7 kB / 235.8 MB, free: 1.992 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.791e-05/0.00802, allocations: 128.2 kB / 235.9 MB, free: 1.863 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/0.008069, allocations: 67.42 kB / 236 MB, free: 1.797 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.008175, allocations: 41.69 kB / 236 MB, free: 1.75 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.23e-05/0.008257, allocations: 322.8 kB / 236.3 MB, free: 1.426 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.677e-05/0.008294, allocations: 19.98 kB / 236.4 MB, free: 1.406 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.904e-05/0.008343, allocations: 69.06 kB / 236.4 MB, free: 1.32 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.875e-05/0.008422, allocations: 97 kB / 236.5 MB, free: 1.207 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.008424, allocations: 0 / 236.5 MB, free: 1.207 MB / 234.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001238/0.008548, allocations: 117.5 kB / 236.6 MB, free: 1.086 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.008563, allocations: 12.16 kB / 236.7 MB, free: 1.074 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.008568, allocations: 0 / 236.7 MB, free: 1.074 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.008578, allocations: 4 kB / 236.7 MB, free: 1.07 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.008767, allocations: 63.91 kB / 236.7 MB, free: 1.008 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.008771, allocations: 4 kB / 236.7 MB, free: 1.004 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.789e-05/0.008809, allocations: 0 / 236.7 MB, free: 1.004 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.008817, allocations: 8 kB / 236.7 MB, free: 0.9961 MB / 234.7 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 6.624e-05/0.008883, allocations: 121.7 kB / 236.9 MB, free: 0.8672 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.008906, allocations: 15.98 kB / 236.9 MB, free: 0.8516 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.208e-05/0.008938, allocations: 16.78 kB / 236.9 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.008941, allocations: 7.938 kB / 236.9 MB, free: 0.8281 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.008942, allocations: 0 / 236.9 MB, free: 0.8281 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.008945, allocations: 0 / 236.9 MB, free: 0.8281 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003213/0.009266, allocations: 306.6 kB / 237.2 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.009269, allocations: 4 kB / 237.2 MB, free: 0.5 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.009391, allocations: 59.92 kB / 237.3 MB, free: 452 kB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-06/0.0094, allocations: 7.953 kB / 237.3 MB, free: 444 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.009403, allocations: 8 kB / 237.3 MB, free: 436 kB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.009411, allocations: 0 / 237.3 MB, free: 436 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.009414, allocations: 3.938 kB / 237.3 MB, free: 432 kB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.009415, allocations: 0 / 237.3 MB, free: 432 kB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.009551, allocations: 203.5 kB / 237.5 MB, free: 212 kB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.009562, allocations: 4 kB / 237.5 MB, free: 208 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.597e-05/0.009598, allocations: 11.92 kB / 237.5 MB, free: 196 kB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.508e-05/0.009613, allocations: 11.92 kB / 237.5 MB, free: 184 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.009618, allocations: 4 kB / 237.5 MB, free: 180 kB / 234.7 MB Notification: Performance of sorting global known variables: time 1.488e-05/0.009632, allocations: 21.22 kB / 237.5 MB, free: 156 kB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009632, allocations: 4 kB / 237.5 MB, free: 152 kB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001501/0.009783, allocations: 36 kB / 237.6 MB, free: 116 kB / 234.7 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 7.999e-05/0.009863, allocations: 80.42 kB / 237.6 MB, free: 28 kB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001157/0.009978, allocations: 80.62 kB / 237.7 MB, free: 15.95 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/0.009986, allocations: 0 / 237.7 MB, free: 15.95 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.928e-05/0.01002, allocations: 44.78 kB / 237.8 MB, free: 15.9 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.01014, allocations: 16.52 kB / 237.8 MB, free: 15.88 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.01235, allocations: 389.7 kB / 238.2 MB, free: 15.47 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.991e-05/0.01239, allocations: 75.83 kB / 238.2 MB, free: 15.38 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.746e-05/0.01243, allocations: 17.14 kB / 238.3 MB, free: 15.36 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.573e-05/0.01247, allocations: 63.38 kB / 238.3 MB, free: 15.29 MB / 250.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01247, allocations: 0 / 238.3 MB, free: 15.29 MB / 250.7 MB Notification: Performance of Templates: time 0.002498/0.01497, allocations: 1.109 MB / 239.4 MB, free: 14.18 MB / 250.7 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=240 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.309123434126377]