Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem.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.001005/0.001005, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001026/0.001026, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.8786/0.8786, allocations: 158.6 MB / 186 MB, free: 2.789 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.03256/0.03256, allocations: 6.415 MB / 244.7 MB, free: 8.555 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem") translateModel(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 311.9 MB, free: 51.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.86e-05, allocations: 4 kB / 311.9 MB, free: 51.8 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem): time 0.004125/0.004153, allocations: 2.404 MB / 314.4 MB, free: 50.22 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.005487, allocations: 0.6346 MB / 315 MB, free: 49.79 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002118/0.005699, allocations: 8.062 kB / 315 MB, free: 49.78 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.005879, allocations: 34.67 kB / 315 MB, free: 49.76 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002303/0.006109, allocations: 74.88 kB / 315.1 MB, free: 49.7 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.006391, allocations: 71.53 kB / 315.2 MB, free: 49.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004139/0.006805, allocations: 299 kB / 315.5 MB, free: 49.51 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.006999, allocations: 72.66 kB / 315.5 MB, free: 49.48 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003061/0.007305, allocations: 167.8 kB / 315.7 MB, free: 49.41 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.007511, allocations: 94.44 kB / 315.8 MB, free: 49.38 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.253e-05/0.007574, allocations: 23.81 kB / 315.8 MB, free: 49.38 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.949e-05/0.007623, allocations: 23.53 kB / 315.8 MB, free: 49.38 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.658e-05/0.00768, allocations: 60.05 kB / 315.9 MB, free: 49.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.007795, allocations: 89.73 kB / 316 MB, free: 49.3 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.008106, allocations: 192.9 kB / 316.2 MB, free: 49.21 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.008109, allocations: 2.109 kB / 316.2 MB, free: 49.21 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.008111, allocations: 0 / 316.2 MB, free: 49.21 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.008119, allocations: 0 / 316.2 MB, free: 49.21 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.0007812/0.0089, allocations: 0.599 MB / 316.8 MB, free: 48.67 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.008936, allocations: 11.98 kB / 316.8 MB, free: 48.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.287e-05/0.009019, allocations: 49.36 kB / 316.8 MB, free: 48.61 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.009248, allocations: 187.2 kB / 317 MB, free: 48.41 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.009268, allocations: 24.86 kB / 317 MB, free: 48.39 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/0.009309, allocations: 28.31 kB / 317.1 MB, free: 48.36 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/0.009593, allocations: 165.3 kB / 317.2 MB, free: 48.19 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.00961, allocations: 192 / 317.2 MB, free: 48.19 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.009629, allocations: 12.38 kB / 317.2 MB, free: 48.18 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.009637, allocations: 7.938 kB / 317.2 MB, free: 48.17 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.009765, allocations: 71.42 kB / 317.3 MB, free: 48.1 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007272/0.01049, allocations: 0.5659 MB / 317.9 MB, free: 47.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.01078, allocations: 149.8 kB / 318 MB, free: 47.35 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.551e-05/0.01086, allocations: 56.16 kB / 318.1 MB, free: 47.29 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.01087, allocations: 4.984 kB / 318.1 MB, free: 47.29 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.01103, allocations: 108.9 kB / 318.2 MB, free: 47.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 2.254e-06/0.01103, allocations: 0 / 318.2 MB, free: 47.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.000986/0.01202, allocations: 0.6483 MB / 318.8 MB, free: 46.46 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.01204, allocations: 59.34 kB / 318.9 MB, free: 46.39 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.01215, allocations: 222.8 kB / 319.1 MB, free: 46.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.01217, allocations: 33.7 kB / 319.2 MB, free: 46.12 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.464e-05/0.01225, allocations: 195.5 kB / 319.3 MB, free: 45.92 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.104e-05/0.01231, allocations: 103.1 kB / 319.4 MB, free: 45.82 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.196e-05/0.01239, allocations: 59.33 kB / 319.5 MB, free: 45.75 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.398e-05/0.01245, allocations: 0.5039 MB / 320 MB, free: 45.24 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.506e-05/0.01253, allocations: 53.69 kB / 320.1 MB, free: 45.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.492e-05/0.01261, allocations: 96.86 kB / 320.2 MB, free: 45.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.01284, allocations: 199.7 kB / 320.3 MB, free: 44.86 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01284, allocations: 0 / 320.3 MB, free: 44.86 MB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002895/0.01313, allocations: 260.6 kB / 320.6 MB, free: 44.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.01316, allocations: 33.73 kB / 320.6 MB, free: 44.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.01317, allocations: 2.344 kB / 320.6 MB, free: 44.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.01318, allocations: 4 kB / 320.6 MB, free: 44.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.01342, allocations: 63.95 kB / 320.7 MB, free: 44.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.01343, allocations: 3.938 kB / 320.7 MB, free: 44.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.01356, allocations: 27.92 kB / 320.7 MB, free: 44.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.01358, allocations: 4 kB / 320.7 MB, free: 44.45 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: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.trapezoid.count,$PRE.trapezoid.T_start,trapezoid.count,trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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.0001758/0.01376, allocations: 198.5 kB / 320.9 MB, free: 44.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/0.0138, allocations: 23.91 kB / 321 MB, free: 44.22 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.452e-05/0.01384, allocations: 30.64 kB / 321 MB, free: 44.2 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.01385, allocations: 4 kB / 321 MB, free: 44.19 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.01385, allocations: 0 / 321 MB, free: 44.19 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.01385, allocations: 0 / 321 MB, free: 44.19 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005842/0.01444, allocations: 0.5287 MB / 321.5 MB, free: 43.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/0.01444, allocations: 4 kB / 321.5 MB, free: 43.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.01468, allocations: 55.97 kB / 321.6 MB, free: 43.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.01469, allocations: 3.984 kB / 321.6 MB, free: 43.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.01471, allocations: 11.94 kB / 321.6 MB, free: 43.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.01471, allocations: 0 / 321.6 MB, free: 43.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.01471, allocations: 7.938 kB / 321.6 MB, free: 43.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000362/0.01507, allocations: 390.6 kB / 322 MB, free: 43.13 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.821e-05/0.0151, allocations: 19.91 kB / 322 MB, free: 43.11 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.01513, allocations: 7.938 kB / 322 MB, free: 43.1 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.01529, allocations: 19.92 kB / 322 MB, free: 43.08 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.507e-05/0.01536, allocations: 23.95 kB / 322.1 MB, free: 43.06 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.01537, allocations: 12 kB / 322.1 MB, free: 43.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.354e-05/0.01543, allocations: 148.4 kB / 322.2 MB, free: 42.9 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01543, allocations: 3.938 kB / 322.2 MB, free: 42.9 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003012/0.01573, allocations: 60 kB / 322.3 MB, free: 42.84 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: 3 ($whenCondition1,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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000101/0.01583, allocations: 115.2 kB / 322.4 MB, free: 42.72 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002384/0.01607, allocations: 218.4 kB / 322.6 MB, free: 42.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01607, allocations: 0 / 322.6 MB, free: 42.48 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.01618, allocations: 79.5 kB / 322.7 MB, free: 42.4 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.01658, allocations: 56.67 kB / 322.7 MB, free: 42.35 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.0182, allocations: 0.6748 MB / 323.4 MB, free: 41.64 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.039e-05/0.01825, allocations: 92.17 kB / 323.5 MB, free: 41.54 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.763e-05/0.01835, allocations: 21.52 kB / 323.5 MB, free: 41.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.0185, allocations: 126.2 kB / 323.6 MB, free: 41.39 MB / 282.7 MB Notification: Performance of SimCode: time 1.062e-06/0.0185, allocations: 0 / 323.6 MB, free: 41.39 MB / 282.7 MB Notification: Performance of Templates: time 0.006761/0.02526, allocations: 3.224 MB / 326.9 MB, free: 38.26 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem.makefile [Timeout 660] (rm -f ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem.pipe >> ../files/ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem.sim & ./ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7496431269682944]