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.001854/0.001854, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.001962/0.001962, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.317/1.317, allocations: 158.6 MB / 184.6 MB, free: 2.801 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.05998/0.05998, allocations: 6.406 MB / 243.3 MB, free: 8.781 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 1.934e-06/1.934e-06, allocations: 0 / 310 MB, free: 52.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.57e-05, allocations: 4.234 kB / 310 MB, free: 52.23 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1): time 0.003194/0.003219, allocations: 2.4 MB / 312.4 MB, free: 50.65 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.004246, allocations: 0.6694 MB / 313.1 MB, free: 50.19 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.004368, allocations: 7.562 kB / 313.1 MB, free: 50.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.004521, allocations: 33.03 kB / 313.1 MB, free: 50.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001554/0.004676, allocations: 76.78 kB / 313.2 MB, free: 50.11 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.004897, allocations: 79.39 kB / 313.3 MB, free: 50.06 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002932/0.00519, allocations: 310.4 kB / 313.6 MB, free: 49.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.005351, allocations: 64.92 kB / 313.6 MB, free: 49.88 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002619/0.005613, allocations: 174.7 kB / 313.8 MB, free: 49.81 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.00577, allocations: 100.5 kB / 313.9 MB, free: 49.78 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.441e-05/0.005814, allocations: 22 kB / 313.9 MB, free: 49.78 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.679e-05/0.005861, allocations: 24.75 kB / 313.9 MB, free: 49.78 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.805e-05/0.005909, allocations: 57.55 kB / 314 MB, free: 49.74 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.006011, allocations: 91.27 kB / 314.1 MB, free: 49.7 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003458/0.006357, allocations: 289.4 kB / 314.4 MB, free: 49.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.006359, allocations: 0 / 314.4 MB, free: 49.59 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.00636, allocations: 0 / 314.4 MB, free: 49.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.006365, allocations: 0 / 314.4 MB, free: 49.59 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.0008374/0.007203, allocations: 0.6089 MB / 315 MB, free: 49.07 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.007239, allocations: 12.39 kB / 315 MB, free: 49.07 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.481e-05/0.007334, allocations: 51.11 kB / 315 MB, free: 49.04 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.007598, allocations: 198.2 kB / 315.2 MB, free: 48.86 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.007621, allocations: 20.92 kB / 315.3 MB, free: 48.86 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.663e-05/0.007668, allocations: 27.81 kB / 315.3 MB, free: 48.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004072/0.008075, allocations: 203.5 kB / 315.5 MB, free: 48.76 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.008093, allocations: 1.562 kB / 315.5 MB, free: 48.76 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.008116, allocations: 10.64 kB / 315.5 MB, free: 48.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.008123, allocations: 9.438 kB / 315.5 MB, free: 48.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004074/0.008531, allocations: 168.7 kB / 315.7 MB, free: 48.7 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008278/0.009358, allocations: 0.6334 MB / 316.3 MB, free: 48.04 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004912/0.00985, allocations: 227.1 kB / 316.5 MB, free: 47.8 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.01004, allocations: 105.1 kB / 316.6 MB, free: 47.7 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.01006, allocations: 4 kB / 316.6 MB, free: 47.7 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002967/0.01035, allocations: 158.8 kB / 316.8 MB, free: 47.53 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.463e-06/0.01035, allocations: 0 / 316.8 MB, free: 47.53 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.001761/0.01211, allocations: 1.006 MB / 317.8 MB, free: 46.46 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.01214, allocations: 59.34 kB / 317.9 MB, free: 46.39 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.01227, allocations: 246.8 kB / 318.1 MB, free: 46.14 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.01229, allocations: 33.7 kB / 318.1 MB, free: 46.1 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.846e-05/0.01237, allocations: 195.5 kB / 318.3 MB, free: 45.9 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.688e-05/0.01242, allocations: 119 kB / 318.4 MB, free: 45.78 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.643e-05/0.0125, allocations: 67.36 kB / 318.5 MB, free: 45.71 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.935e-05/0.01259, allocations: 0.5157 MB / 319 MB, free: 45.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.01278, allocations: 110 kB / 319.1 MB, free: 45.06 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.01298, allocations: 161.6 kB / 319.3 MB, free: 44.89 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005528/0.01354, allocations: 392.7 kB / 319.7 MB, free: 44.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.01354, allocations: 7.984 kB / 319.7 MB, free: 44.47 MB / 282.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004973/0.01404, allocations: 372.3 kB / 320 MB, free: 44.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.01406, allocations: 33.7 kB / 320.1 MB, free: 44.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.01407, allocations: 0 / 320.1 MB, free: 44.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.01408, allocations: 4 kB / 320.1 MB, free: 44.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.01434, allocations: 75.89 kB / 320.1 MB, free: 43.97 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.01435, allocations: 3.938 kB / 320.1 MB, free: 43.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.0145, allocations: 28.05 kB / 320.2 MB, free: 43.94 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.01452, allocations: 12 kB / 320.2 MB, free: 43.93 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.0001591/0.01468, allocations: 206.2 kB / 320.4 MB, free: 43.72 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/0.01472, allocations: 39.84 kB / 320.4 MB, free: 43.68 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.752e-05/0.01478, allocations: 26.66 kB / 320.5 MB, free: 43.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.01478, allocations: 0 / 320.5 MB, free: 43.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.01478, allocations: 4 kB / 320.5 MB, free: 43.66 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.01479, allocations: 7.922 kB / 320.5 MB, free: 43.65 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008344/0.01562, allocations: 0.7349 MB / 321.2 MB, free: 42.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.01563, allocations: 3.938 kB / 321.2 MB, free: 42.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002514/0.01588, allocations: 67.97 kB / 321.3 MB, free: 42.79 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.01588, allocations: 4 kB / 321.3 MB, free: 42.79 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.0159, allocations: 8 kB / 321.3 MB, free: 42.78 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.0159, allocations: 0 / 321.3 MB, free: 42.78 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.0159, allocations: 0 / 321.3 MB, free: 42.78 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006973/0.0166, allocations: 0.5665 MB / 321.8 MB, free: 42.18 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.701e-05/0.01663, allocations: 31.72 kB / 321.9 MB, free: 42.15 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.01666, allocations: 8 kB / 321.9 MB, free: 42.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.01683, allocations: 19.98 kB / 321.9 MB, free: 42.12 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.92e-05/0.0169, allocations: 27.95 kB / 321.9 MB, free: 42.1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.01692, allocations: 8 kB / 321.9 MB, free: 42.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.677e-05/0.017, allocations: 176.4 kB / 322.1 MB, free: 41.92 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.017, allocations: 0 / 322.1 MB, free: 41.92 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002835/0.01728, allocations: 64 kB / 322.2 MB, free: 41.86 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 8.929e-05/0.01737, allocations: 111.1 kB / 322.3 MB, free: 41.74 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004916/0.01786, allocations: 348.5 kB / 322.6 MB, free: 41.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01786, allocations: 0 / 322.6 MB, free: 41.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002302/0.01809, allocations: 139.5 kB / 322.8 MB, free: 41.23 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.01849, allocations: 57.5 kB / 322.8 MB, free: 41.18 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.02009, allocations: 0.713 MB / 323.5 MB, free: 40.44 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.864e-05/0.02018, allocations: 142.6 kB / 323.7 MB, free: 40.28 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.048e-05/0.02026, allocations: 24.03 kB / 323.7 MB, free: 40.26 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.448e-05/0.02033, allocations: 24.5 kB / 323.7 MB, free: 40.23 MB / 282.7 MB Notification: Performance of SimCode: time 4.31e-07/0.02033, allocations: 0 / 323.7 MB, free: 40.23 MB / 282.7 MB Notification: Performance of Templates: time 0.006131/0.02646, allocations: 3.024 MB / 326.7 MB, free: 37.31 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: 4.386802742956206]