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.001048/0.001048, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001422/0.00247, allocations: 440 kB / 10.41 MB, free: 284 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.001087/0.001087, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001425/0.002512, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.962/0.962, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1831/1.145, allocations: 49.5 MB / 220.7 MB, free: 1.359 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.02748/0.02748, allocations: 6.407 MB / 227.8 MB, free: 10.22 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00592/0.0334, allocations: 2.173 MB / 230 MB, free: 8.039 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.693e-06/1.693e-06, allocations: 0 / 231.2 MB, free: 6.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.499e-05, allocations: 2.312 kB / 231.2 MB, free: 6.828 MB / 234.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant): time 0.003722/0.003747, allocations: 1.984 MB / 233.2 MB, free: 4.828 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004068/0.004154, allocations: 151.4 kB / 233.3 MB, free: 4.68 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.178e-05/0.004236, allocations: 4 kB / 233.3 MB, free: 4.676 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.205e-05/0.004308, allocations: 15.8 kB / 233.4 MB, free: 4.66 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.004414, allocations: 51.55 kB / 233.4 MB, free: 4.609 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.004552, allocations: 39.94 kB / 233.4 MB, free: 4.57 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002464/0.004799, allocations: 187.1 kB / 233.6 MB, free: 4.387 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.005004, allocations: 62.44 kB / 233.7 MB, free: 4.324 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.005193, allocations: 107.8 kB / 233.8 MB, free: 4.219 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.005325, allocations: 59.8 kB / 233.8 MB, free: 4.16 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.313e-05/0.005368, allocations: 16 kB / 233.9 MB, free: 4.145 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.518e-05/0.005403, allocations: 16 kB / 233.9 MB, free: 4.129 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.942e-05/0.005452, allocations: 31.94 kB / 233.9 MB, free: 4.098 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.105e-05/0.005523, allocations: 51.88 kB / 234 MB, free: 4.047 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.005698, allocations: 103.7 kB / 234.1 MB, free: 3.945 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-05/0.005712, allocations: 0 / 234.1 MB, free: 3.945 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.005714, allocations: 0 / 234.1 MB, free: 3.945 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.005726, allocations: 0 / 234.1 MB, free: 3.945 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.0004874/0.006214, allocations: 395.9 kB / 234.4 MB, free: 3.531 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.006247, allocations: 8.031 kB / 234.5 MB, free: 3.523 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.006293, allocations: 24.92 kB / 234.5 MB, free: 3.5 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.006405, allocations: 121.5 kB / 234.6 MB, free: 3.355 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.006423, allocations: 16.38 kB / 234.6 MB, free: 3.34 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/0.006463, allocations: 24.34 kB / 234.6 MB, free: 3.316 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.006599, allocations: 110.1 kB / 234.7 MB, free: 3.203 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.006612, allocations: 8.125 kB / 234.8 MB, free: 3.195 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.006626, allocations: 12.38 kB / 234.8 MB, free: 3.184 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.006635, allocations: 8.375 kB / 234.8 MB, free: 3.176 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.95e-05/0.006694, allocations: 51.81 kB / 234.8 MB, free: 3.125 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005886/0.007283, allocations: 475.7 kB / 235.3 MB, free: 2.625 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/0.007507, allocations: 102.5 kB / 235.4 MB, free: 2.516 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.028e-05/0.007597, allocations: 60.81 kB / 235.5 MB, free: 2.453 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.007608, allocations: 4 kB / 235.5 MB, free: 2.449 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.007632, allocations: 30.56 kB / 235.5 MB, free: 2.41 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 2.104e-06/0.007634, allocations: 0 / 235.5 MB, free: 2.41 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005801/0.008214, allocations: 325.2 kB / 235.8 MB, free: 2.059 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.008252, allocations: 55.41 kB / 235.9 MB, free: 1.992 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.829e-05/0.008321, allocations: 130.5 kB / 236 MB, free: 1.852 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.008332, allocations: 29.7 kB / 236 MB, free: 1.816 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/0.008388, allocations: 124.3 kB / 236.1 MB, free: 1.691 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.00842, allocations: 67.41 kB / 236.2 MB, free: 1.625 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.008461, allocations: 41.69 kB / 236.2 MB, free: 1.578 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.13e-05/0.008542, allocations: 322.8 kB / 236.6 MB, free: 1.254 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.422e-05/0.008566, allocations: 19.98 kB / 236.6 MB, free: 1.234 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.541e-05/0.008611, allocations: 65.06 kB / 236.6 MB, free: 1.152 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.112e-05/0.008693, allocations: 100.9 kB / 236.7 MB, free: 1.035 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.008694, allocations: 0 / 236.7 MB, free: 1.035 MB / 234.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001193/0.008813, allocations: 121.5 kB / 236.9 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.008827, allocations: 8.156 kB / 236.9 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.008834, allocations: 4 kB / 236.9 MB, free: 0.8984 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.008848, allocations: 3.938 kB / 236.9 MB, free: 0.8945 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.009034, allocations: 59.91 kB / 236.9 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.009039, allocations: 0 / 236.9 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.26e-05/0.009071, allocations: 8 kB / 236.9 MB, free: 0.8281 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.009078, allocations: 4 kB / 236.9 MB, free: 0.8242 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 7.511e-05/0.009153, allocations: 125.7 kB / 237.1 MB, free: 0.6914 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/0.009173, allocations: 11.98 kB / 237.1 MB, free: 0.6797 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.009206, allocations: 16.78 kB / 237.1 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.009207, allocations: 0 / 237.1 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.00921, allocations: 4 kB / 237.1 MB, free: 0.6602 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.009214, allocations: 3.984 kB / 237.1 MB, free: 0.6562 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.009542, allocations: 306.6 kB / 237.4 MB, free: 340 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.009544, allocations: 0 / 237.4 MB, free: 340 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.009673, allocations: 51.98 kB / 237.5 MB, free: 288 kB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.111e-05/0.009684, allocations: 7.953 kB / 237.5 MB, free: 280 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.009687, allocations: 4 kB / 237.5 MB, free: 276 kB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.009699, allocations: 8 kB / 237.5 MB, free: 268 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.009702, allocations: 3.938 kB / 237.5 MB, free: 264 kB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.009703, allocations: 0 / 237.5 MB, free: 264 kB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.009872, allocations: 207.4 kB / 237.7 MB, free: 40 kB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.009885, allocations: 4 kB / 237.7 MB, free: 36 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.615e-05/0.009921, allocations: 12 kB / 237.7 MB, free: 24 kB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.519e-05/0.009936, allocations: 7.922 kB / 237.7 MB, free: 16 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.00994, allocations: 4 kB / 237.7 MB, free: 12 kB / 234.7 MB Notification: Performance of sorting global known variables: time 3.873e-05/0.009979, allocations: 16.84 kB / 237.7 MB, free: 15.99 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009979, allocations: 4 kB / 237.7 MB, free: 15.99 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000151/0.01013, allocations: 36 kB / 237.8 MB, free: 15.95 MB / 250.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 8.859e-05/0.01022, allocations: 80.36 kB / 237.8 MB, free: 15.87 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001159/0.01033, allocations: 84.86 kB / 237.9 MB, free: 15.78 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.01034, allocations: 7.938 kB / 237.9 MB, free: 15.77 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.788e-05/0.01038, allocations: 44.78 kB / 238 MB, free: 15.73 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.01053, allocations: 76.38 kB / 238 MB, free: 15.64 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.01285, allocations: 377.4 kB / 238.4 MB, free: 15.24 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.26e-05/0.0129, allocations: 75.83 kB / 238.5 MB, free: 15.15 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.006e-05/0.01295, allocations: 21.08 kB / 238.5 MB, free: 15.12 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.583e-05/0.01301, allocations: 63.38 kB / 238.6 MB, free: 15.06 MB / 250.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01302, allocations: 0 / 238.6 MB, free: 15.06 MB / 250.7 MB Notification: Performance of Templates: time 0.003304/0.01632, allocations: 1.019 MB / 239.6 MB, free: 14.04 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.704533568583429]