Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.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.001841/0.001841, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002246/0.002246, allocations: 212.3 kB / 23.01 MB, free: 4.566 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.41/1.41, allocations: 207.6 MB / 233.8 MB, free: 10.02 MB / 190.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.05659/0.05659, allocations: 8.197 MB / 294.2 MB, free: 13.67 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.Architectures.SensorComparison.Examples.FlatSystem_Variation1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1") translateModel(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1") [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.002371/0.002371, allocations: 72.95 kB / 411.7 MB, free: 46.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06717/0.06954, allocations: 50.94 MB / 462.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1): time 0.004142/0.07368, allocations: 2.446 MB / 465.1 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.07503, allocations: 0.6787 MB / 465.7 MB, free: 9.875 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.07518, allocations: 7.938 kB / 465.7 MB, free: 9.867 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001919/0.07537, allocations: 35.66 kB / 465.8 MB, free: 9.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.07559, allocations: 71.34 kB / 465.8 MB, free: 9.762 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.07587, allocations: 79.78 kB / 465.9 MB, free: 9.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004223/0.0763, allocations: 302.7 kB / 466.2 MB, free: 9.387 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002179/0.07651, allocations: 78.23 kB / 466.3 MB, free: 9.309 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.07669, allocations: 123.6 kB / 466.4 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.07688, allocations: 119.5 kB / 466.5 MB, free: 9.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.519e-05/0.07692, allocations: 28 kB / 466.6 MB, free: 9.043 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.967e-05/0.07697, allocations: 24 kB / 466.6 MB, free: 9.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.496e-05/0.07707, allocations: 55.77 kB / 466.6 MB, free: 8.965 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.07721, allocations: 131.3 kB / 466.8 MB, free: 8.836 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003708/0.07758, allocations: 282.8 kB / 467 MB, free: 8.559 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.07758, allocations: 0 / 467 MB, free: 8.559 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.07758, allocations: 0 / 467 MB, free: 8.559 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.07759, allocations: 0 / 467 MB, free: 8.559 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001087/0.07868, allocations: 0.511 MB / 467.6 MB, free: 8.012 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.07871, allocations: 19.97 kB / 467.6 MB, free: 7.992 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.929e-05/0.07881, allocations: 24.8 kB / 467.6 MB, free: 7.969 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.07916, allocations: 190 kB / 467.8 MB, free: 7.758 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.07918, allocations: 20.8 kB / 467.8 MB, free: 7.738 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-05/0.07923, allocations: 20.38 kB / 467.8 MB, free: 7.719 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005871/0.07982, allocations: 235.5 kB / 468.1 MB, free: 7.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.07984, allocations: 3.953 kB / 468.1 MB, free: 7.477 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.07986, allocations: 12 kB / 468.1 MB, free: 7.465 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.07987, allocations: 4 kB / 468.1 MB, free: 7.461 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006001/0.08047, allocations: 193.6 kB / 468.3 MB, free: 7.273 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.08165, allocations: 0.6303 MB / 468.9 MB, free: 6.598 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007614/0.08241, allocations: 234.4 kB / 469.1 MB, free: 6.359 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003149/0.08272, allocations: 120.7 kB / 469.2 MB, free: 6.242 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.08274, allocations: 0 / 469.2 MB, free: 6.242 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004323/0.08318, allocations: 173.1 kB / 469.4 MB, free: 6.062 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 1.553e-06/0.08318, allocations: 0 / 469.4 MB, free: 6.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.002815/0.08599, allocations: 1.046 MB / 470.5 MB, free: 4.965 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.08604, allocations: 55.41 kB / 470.5 MB, free: 4.898 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.08623, allocations: 183.2 kB / 470.7 MB, free: 4.711 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.4e-05/0.08629, allocations: 29.7 kB / 470.7 MB, free: 4.676 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.0864, allocations: 152.8 kB / 470.9 MB, free: 4.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.0865, allocations: 111 kB / 471 MB, free: 4.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.268e-05/0.08659, allocations: 53.7 kB / 471 MB, free: 4.352 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.08679, allocations: 334.8 kB / 471.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003297/0.08712, allocations: 100.2 kB / 471.5 MB, free: 3.914 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.08747, allocations: 139.4 kB / 471.6 MB, free: 3.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.08897, allocations: 0.551 MB / 472.1 MB, free: 3.191 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.08897, allocations: 0 / 472.1 MB, free: 3.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008637/0.08983, allocations: 362.3 kB / 472.5 MB, free: 2.824 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.485e-05/0.08988, allocations: 47.97 kB / 472.5 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.08988, allocations: 0 / 472.5 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.08989, allocations: 0 / 472.5 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/0.09023, allocations: 71.89 kB / 472.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.09024, allocations: 4 kB / 472.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.09047, allocations: 32.03 kB / 472.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.09049, allocations: 8 kB / 472.7 MB, free: 2.66 MB / 334.1 MB Warning: Assuming fixed start value for the following 4 variables: springDamper.phi_rel:VARIABLE(start = 0.0 unit = \"rad\" fixed = true nominal = if springDamper.phi_nominal >= 2.220446049250313e-16 then springDamper.phi_nominal else 1.0 stateSelect=StateSelect.prefer ) \"Relative rotation angle (= flange_b.phi - flange_a.phi)\" type: Real springDamper.w_rel:VARIABLE(start = 0.0 unit = \"rad/s\" fixed = true stateSelect=StateSelect.prefer ) \"Relative angular velocity (= der(phi_rel))\" type: Real damper.phi_rel:VARIABLE(start = 0.0 unit = \"rad\" fixed = true nominal = if damper.phi_nominal >= 2.220446049250313e-16 then damper.phi_nominal else 1.0 stateSelect=StateSelect.prefer ) \"Relative rotation angle (= flange_b.phi - flange_a.phi)\" type: Real damper.w_rel:VARIABLE(start = 0.0 unit = \"rad/s\" fixed = true stateSelect=StateSelect.prefer ) \"Relative angular velocity (= der(phi_rel))\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$PRE.trapezoid.count,$PRE.trapezoid.T_start,$PRE.speedSensor.w,trapezoid.count,trapezoid.T_start,speedSensor.w,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * 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.0002514/0.09074, allocations: 169.2 kB / 472.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.09078, allocations: 27.8 kB / 472.8 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.469e-05/0.09085, allocations: 30.59 kB / 472.9 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.09085, allocations: 4 kB / 472.9 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.09085, allocations: 0 / 472.9 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.09086, allocations: 3.984 kB / 472.9 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.09233, allocations: 0.7601 MB / 473.6 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.09233, allocations: 0 / 473.6 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003564/0.09269, allocations: 71.89 kB / 473.7 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.09269, allocations: 4 kB / 473.7 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.09271, allocations: 4 kB / 473.7 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.09272, allocations: 7.984 kB / 473.7 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.09272, allocations: 0 / 473.7 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.09386, allocations: 0.5367 MB / 474.3 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.601e-05/0.0939, allocations: 23.86 kB / 474.3 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.09393, allocations: 4 kB / 474.3 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.09418, allocations: 27.97 kB / 474.3 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.09429, allocations: 31.89 kB / 474.3 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.09431, allocations: 8 kB / 474.4 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.09443, allocations: 139.2 kB / 474.5 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.09444, allocations: 0 / 474.5 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003403/0.09478, allocations: 64 kB / 474.6 MB, free: 0.6719 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (springDamper.phi_rel,springDamper.w_rel,damper.phi_rel,damper.w_rel) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,speedSensor.w,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001125/0.09489, allocations: 111.2 kB / 474.7 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007615/0.09565, allocations: 311 kB / 475 MB, free: 244 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.09565, allocations: 4 kB / 475 MB, free: 240 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003824/0.09604, allocations: 140 kB / 475.1 MB, free: 100 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.09648, allocations: 47.81 kB / 475.2 MB, free: 52 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002695/0.09917, allocations: 0.9184 MB / 476.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.09957, allocations: 0.7522 MB / 476.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.881e-05/0.09966, allocations: 23.44 kB / 476.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.09966, allocations: 0 / 476.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of Templates: time 0.005984/0.1056, allocations: 3.195 MB / 480 MB, free: 11.1 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.makefile [Timeout 660] (rm -f ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.pipe >> ../files/ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.sim & ./ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.9365021591074765] Failed to read output from testmodel.py, exit status != 0: 0.11385669512674212 0.13051613199999995 0.04955502699999994 Calling exit ...