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.001439/0.001439, allocations: 78.8 kB / 19.76 MB, free: 2.031 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.001801/0.001801, allocations: 157.8 kB / 23.01 MB, free: 4.945 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.339/1.339, allocations: 158.6 MB / 184.8 MB, free: 6.195 MB / 174.1 MB " [Timeout remaining time 178] 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.08321/0.08321, allocations: 6.422 MB / 243.4 MB, free: 12.71 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.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.002235/0.002235, allocations: 75.89 kB / 360.8 MB, free: 11.14 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08561/0.08785, allocations: 50.91 MB / 411.7 MB, free: 8.148 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant): time 0.003126/0.09097, allocations: 1.821 MB / 413.5 MB, free: 6.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003367/0.09131, allocations: 155.5 kB / 413.7 MB, free: 6.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.163e-05/0.09137, allocations: 0 / 413.7 MB, free: 6.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.877e-05/0.09145, allocations: 27.72 kB / 413.7 MB, free: 6.133 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.961e-05/0.09154, allocations: 39.62 kB / 413.8 MB, free: 6.094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.09169, allocations: 43.89 kB / 413.8 MB, free: 6.051 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.09189, allocations: 175.3 kB / 414 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.09207, allocations: 61.92 kB / 414 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.617e-05/0.09214, allocations: 67.78 kB / 414.1 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.09225, allocations: 63.69 kB / 414.2 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.94e-05/0.09229, allocations: 16 kB / 414.2 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.256e-05/0.09232, allocations: 16 kB / 414.2 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.18e-05/0.09237, allocations: 39.84 kB / 414.2 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.751e-05/0.09244, allocations: 67.73 kB / 414.3 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.09267, allocations: 187.3 kB / 414.5 MB, free: 5.367 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.09268, allocations: 4 kB / 414.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.09268, allocations: 0 / 414.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.09268, allocations: 0 / 414.5 MB, free: 5.363 MB / 334.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.0005807/0.09326, allocations: 385.7 kB / 414.9 MB, free: 4.953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.0933, allocations: 11.98 kB / 414.9 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/0.09334, allocations: 16.84 kB / 414.9 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.09346, allocations: 130.3 kB / 415 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.09347, allocations: 8.375 kB / 415 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.869e-05/0.09352, allocations: 20.38 kB / 415 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.09379, allocations: 158.2 kB / 415.2 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.09381, allocations: 192 / 415.2 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.09383, allocations: 11.94 kB / 415.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.09383, allocations: 4 kB / 415.2 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.09403, allocations: 103.8 kB / 415.3 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009197/0.09495, allocations: 0.5412 MB / 415.9 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004024/0.09535, allocations: 134.5 kB / 416 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.09555, allocations: 84.75 kB / 416.1 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.09556, allocations: 4 kB / 416.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.09558, allocations: 34.56 kB / 416.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.09558, allocations: 0 / 416.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007702/0.09635, allocations: 405 kB / 416.5 MB, free: 3.184 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.0964, allocations: 55.41 kB / 416.6 MB, free: 3.117 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.09651, allocations: 129.7 kB / 416.7 MB, free: 2.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.09653, allocations: 29.7 kB / 416.7 MB, free: 2.945 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.905e-05/0.09662, allocations: 128.2 kB / 416.8 MB, free: 2.816 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.209e-05/0.09667, allocations: 63.47 kB / 416.9 MB, free: 2.754 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.476e-05/0.09673, allocations: 45.67 kB / 416.9 MB, free: 2.703 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.0969, allocations: 326.8 kB / 417.3 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.333e-05/0.09697, allocations: 39.98 kB / 417.3 MB, free: 2.336 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.09709, allocations: 93.06 kB / 417.4 MB, free: 2.227 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.09729, allocations: 133.1 kB / 417.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.09729, allocations: 4 kB / 417.5 MB, free: 2.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002734/0.09756, allocations: 184.8 kB / 417.7 MB, free: 1.891 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.09758, allocations: 8 kB / 417.7 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.09758, allocations: 0 / 417.7 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.0976, allocations: 4 kB / 417.7 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.09778, allocations: 47.91 kB / 417.8 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.09779, allocations: 4 kB / 417.8 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.569e-05/0.09785, allocations: 4 kB / 417.8 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.09786, allocations: 15.94 kB / 417.8 MB, free: 1.809 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.0001148/0.09798, allocations: 134.4 kB / 417.9 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.09801, allocations: 7.953 kB / 417.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.051e-05/0.09805, allocations: 16.77 kB / 417.9 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.09805, allocations: 4 kB / 417.9 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.09806, allocations: 0 / 417.9 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.09806, allocations: 3.984 kB / 418 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005994/0.09866, allocations: 421.7 kB / 418.4 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.09866, allocations: 0 / 418.4 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.09886, allocations: 39.91 kB / 418.4 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.09886, allocations: 8 kB / 418.4 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.09889, allocations: 7.938 kB / 418.4 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-06/0.09889, allocations: 0 / 418.4 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.09889, allocations: 0 / 418.4 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.09923, allocations: 275.4 kB / 418.7 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.09925, allocations: 7.953 kB / 418.7 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.09927, allocations: 3.938 kB / 418.7 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.357e-05/0.09934, allocations: 8 kB / 418.7 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.09937, allocations: 15.95 kB / 418.7 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.09938, allocations: 0 / 418.7 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.594e-05/0.09944, allocations: 95.28 kB / 418.8 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.09944, allocations: 4 kB / 418.8 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000267/0.09971, allocations: 35.98 kB / 418.9 MB, free: 0.6797 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 9.853e-05/0.09981, allocations: 95.25 kB / 418.9 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002192/0.1, allocations: 107.8 kB / 419.1 MB, free: 484 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.1, allocations: 4 kB / 419.1 MB, free: 480 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.011e-05/0.1001, allocations: 43.98 kB / 419.1 MB, free: 436 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.1003, allocations: 12.25 kB / 419.1 MB, free: 424 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009081/0.1012, allocations: 0.5257 MB / 419.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.1013, allocations: 107.4 kB / 419.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.11e-05/0.1014, allocations: 17.08 kB / 419.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.976e-05/0.1014, allocations: 16.5 kB / 419.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1014, allocations: 0 / 419.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of Templates: time 0.003577/0.105, allocations: 0.9101 MB / 420.7 MB, free: 14.8 MB / 350.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 -s ida -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.28180858399719] Failed to read output from testmodel.py, exit status != 0: 0.11272060696501285 0.12892208 0.033125699 Calling exit ...