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.001023/0.001023, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001106/0.001106, allocations: 173.3 kB / 23.49 MB, free: 1.059 MB / 18.57 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.9383/0.9383, allocations: 158.6 MB / 185.3 MB, free: 2.922 MB / 170.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.02806/0.02806, allocations: 6.41 MB / 244 MB, free: 8.793 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.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: Performance of FrontEnd - loaded program: time 3.145e-06/3.145e-06, allocations: 0 / 310.7 MB, free: 52.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.829e-05/4.144e-05, allocations: 8.234 kB / 310.7 MB, free: 52.28 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1): time 0.003701/0.003743, allocations: 2.435 MB / 313.2 MB, free: 50.69 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.00495, allocations: 0.6688 MB / 313.8 MB, free: 50.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001994/0.005149, allocations: 5.719 kB / 313.8 MB, free: 50.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001919/0.005341, allocations: 40.12 kB / 313.9 MB, free: 50.2 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.00551, allocations: 76.52 kB / 314 MB, free: 50.15 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.005888, allocations: 78.56 kB / 314 MB, free: 50.1 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004379/0.006326, allocations: 308 kB / 314.3 MB, free: 49.95 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002195/0.006546, allocations: 67.78 kB / 314.4 MB, free: 49.92 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000278/0.006824, allocations: 169 kB / 314.6 MB, free: 49.85 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.006982, allocations: 99.58 kB / 314.7 MB, free: 49.82 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.871e-05/0.00703, allocations: 22.88 kB / 314.7 MB, free: 49.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.974e-05/0.00707, allocations: 28.44 kB / 314.7 MB, free: 49.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.119e-05/0.007121, allocations: 48.62 kB / 314.8 MB, free: 49.79 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.007228, allocations: 99.95 kB / 314.9 MB, free: 49.74 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.007518, allocations: 196.5 kB / 315.1 MB, free: 49.64 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.00752, allocations: 0 / 315.1 MB, free: 49.64 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.007521, allocations: 0 / 315.1 MB, free: 49.64 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.007528, allocations: 0 / 315.1 MB, free: 49.64 MB / 282.7 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.0007768/0.008305, allocations: 0.5979 MB / 315.7 MB, free: 49.13 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.008351, allocations: 13.58 kB / 315.7 MB, free: 49.13 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.9e-05/0.00844, allocations: 52.11 kB / 315.7 MB, free: 49.1 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.00868, allocations: 188.3 kB / 315.9 MB, free: 48.92 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.008701, allocations: 18.5 kB / 315.9 MB, free: 48.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.008745, allocations: 31.48 kB / 315.9 MB, free: 48.89 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.009043, allocations: 174.1 kB / 316.1 MB, free: 48.78 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.00906, allocations: 9.5 kB / 316.1 MB, free: 48.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.009078, allocations: 11.06 kB / 316.1 MB, free: 48.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.00909, allocations: 9.438 kB / 316.1 MB, free: 48.76 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.009241, allocations: 88.55 kB / 316.2 MB, free: 48.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007399/0.009981, allocations: 0.5738 MB / 316.8 MB, free: 48.25 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.01027, allocations: 161.2 kB / 317 MB, free: 48.08 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.07e-05/0.01035, allocations: 70.09 kB / 317 MB, free: 48.01 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.01037, allocations: 4 kB / 317 MB, free: 48.01 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.01053, allocations: 125.4 kB / 317.2 MB, free: 47.88 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 2.194e-06/0.01053, allocations: 2.578 kB / 317.2 MB, free: 47.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.001018/0.01155, allocations: 0.7848 MB / 317.9 MB, free: 47.03 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.01158, allocations: 55.41 kB / 318 MB, free: 46.96 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.01169, allocations: 226.8 kB / 318.2 MB, free: 46.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.01171, allocations: 33.7 kB / 318.3 MB, free: 46.69 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.724e-05/0.01178, allocations: 191.5 kB / 318.4 MB, free: 46.49 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.736e-05/0.01182, allocations: 115 kB / 318.6 MB, free: 46.38 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-05/0.01189, allocations: 63.34 kB / 318.6 MB, free: 46.31 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.429e-05/0.01194, allocations: 0.504 MB / 319.1 MB, free: 45.79 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.335e-05/0.01203, allocations: 70 kB / 319.2 MB, free: 45.71 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.582e-05/0.01211, allocations: 113.6 kB / 319.3 MB, free: 45.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.01233, allocations: 251.9 kB / 319.5 MB, free: 45.31 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.01234, allocations: 0 / 319.5 MB, free: 45.31 MB / 282.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002565/0.01259, allocations: 296.3 kB / 319.8 MB, free: 45 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.01262, allocations: 33.7 kB / 319.9 MB, free: 44.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.01262, allocations: 0 / 319.9 MB, free: 44.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.01264, allocations: 0 / 319.9 MB, free: 44.96 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.0128, allocations: 75.89 kB / 319.9 MB, free: 44.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.01281, allocations: 7.938 kB / 320 MB, free: 44.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.858e-05/0.0129, allocations: 15.98 kB / 320 MB, free: 44.87 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.01291, allocations: 12 kB / 320 MB, free: 44.86 MB / 282.7 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.0001468/0.01306, allocations: 197 kB / 320.2 MB, free: 44.66 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.01309, allocations: 35.84 kB / 320.2 MB, free: 44.62 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.856e-05/0.01313, allocations: 26.66 kB / 320.2 MB, free: 44.61 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.01313, allocations: 3.938 kB / 320.2 MB, free: 44.6 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.01314, allocations: 4 kB / 320.2 MB, free: 44.6 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.01314, allocations: 14.17 kB / 320.3 MB, free: 44.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004942/0.01364, allocations: 0.6294 MB / 320.9 MB, free: 43.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.01364, allocations: 7.938 kB / 320.9 MB, free: 43.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.0138, allocations: 59.91 kB / 320.9 MB, free: 43.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.0138, allocations: 0 / 320.9 MB, free: 43.84 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.01382, allocations: 12 kB / 321 MB, free: 43.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01382, allocations: 64 / 321 MB, free: 43.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01382, allocations: 8 kB / 321 MB, free: 43.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/0.01415, allocations: 448.1 kB / 321.4 MB, free: 43.35 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.122e-05/0.01418, allocations: 19.84 kB / 321.4 MB, free: 43.33 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.0142, allocations: 8 kB / 321.4 MB, free: 43.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.948e-05/0.01429, allocations: 19.98 kB / 321.5 MB, free: 43.3 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.136e-05/0.01436, allocations: 23.95 kB / 321.5 MB, free: 43.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.01437, allocations: 15.98 kB / 321.5 MB, free: 43.26 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.983e-05/0.01442, allocations: 160.4 kB / 321.6 MB, free: 43.11 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.01442, allocations: 4 kB / 321.7 MB, free: 43.1 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002035/0.01463, allocations: 64 kB / 321.7 MB, free: 43.04 MB / 282.7 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 9.38e-05/0.01472, allocations: 107.2 kB / 321.8 MB, free: 42.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002537/0.01497, allocations: 248.6 kB / 322.1 MB, free: 42.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01498, allocations: 0 / 322.1 MB, free: 42.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.403e-05/0.01507, allocations: 91.52 kB / 322.2 MB, free: 42.57 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.01537, allocations: 62.48 kB / 322.2 MB, free: 42.51 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.01664, allocations: 0.6925 MB / 322.9 MB, free: 41.79 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.096e-05/0.01668, allocations: 88.69 kB / 323 MB, free: 41.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.703e-05/0.01675, allocations: 24.5 kB / 323 MB, free: 41.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.579e-05/0.01681, allocations: 28.5 kB / 323 MB, free: 41.63 MB / 282.7 MB Notification: Performance of SimCode: time 1.172e-06/0.01681, allocations: 0 / 323 MB, free: 41.63 MB / 282.7 MB Notification: Performance of Templates: time 0.004628/0.02144, allocations: 3 MB / 326 MB, free: 38.73 MB / 282.7 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=240 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0087363480124623]