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.0009291/0.0009291, allocations: 92.22 kB / 19.65 MB, free: 280 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.001459/0.001459, allocations: 165 kB / 23.02 MB, free: 1.551 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.9145/0.9145, allocations: 158.6 MB / 184.9 MB, free: 2.426 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.0339/0.0339, allocations: 6.415 MB / 243.6 MB, free: 8.672 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.174e-06/2.174e-06, allocations: 3.938 kB / 310.7 MB, free: 51.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.434e-05/1.651e-05, allocations: 2.312 kB / 310.7 MB, free: 51.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem): time 0.003187/0.003204, allocations: 2.426 MB / 313.1 MB, free: 50.36 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.004219, allocations: 0.6337 MB / 313.8 MB, free: 49.93 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.00435, allocations: 8.062 kB / 313.8 MB, free: 49.92 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.00449, allocations: 35.28 kB / 313.8 MB, free: 49.9 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.004641, allocations: 75.53 kB / 313.9 MB, free: 49.84 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.004874, allocations: 70.27 kB / 314 MB, free: 49.8 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002755/0.00515, allocations: 300.5 kB / 314.3 MB, free: 49.65 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.005323, allocations: 63.92 kB / 314.3 MB, free: 49.63 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.00552, allocations: 174.3 kB / 314.5 MB, free: 49.55 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.005669, allocations: 95.95 kB / 314.6 MB, free: 49.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.634e-05/0.005715, allocations: 23.38 kB / 314.6 MB, free: 49.52 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.076e-05/0.005756, allocations: 26.34 kB / 314.6 MB, free: 49.52 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.012e-05/0.005806, allocations: 56.61 kB / 314.7 MB, free: 49.48 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.005909, allocations: 89.84 kB / 314.8 MB, free: 49.45 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002677/0.006177, allocations: 193.3 kB / 315 MB, free: 49.35 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.00618, allocations: 1.719 kB / 315 MB, free: 49.35 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.006181, allocations: 0 / 315 MB, free: 49.35 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.006186, allocations: 0 / 315 MB, free: 49.35 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.0007591/0.006945, allocations: 0.5938 MB / 315.6 MB, free: 48.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.006985, allocations: 15.14 kB / 315.6 MB, free: 48.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.425e-05/0.007069, allocations: 48.16 kB / 315.6 MB, free: 48.81 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.007357, allocations: 192.3 kB / 315.8 MB, free: 48.64 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.007378, allocations: 13.69 kB / 315.8 MB, free: 48.64 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.088e-05/0.007428, allocations: 32.36 kB / 315.9 MB, free: 48.62 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/0.007741, allocations: 183 kB / 316 MB, free: 48.48 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.007757, allocations: 192 / 316 MB, free: 48.48 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.007776, allocations: 8.375 kB / 316 MB, free: 48.47 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.007786, allocations: 11.94 kB / 316 MB, free: 48.46 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.007948, allocations: 94.91 kB / 316.1 MB, free: 48.37 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006839/0.008632, allocations: 0.5983 MB / 316.7 MB, free: 47.73 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.008928, allocations: 159 kB / 316.9 MB, free: 47.57 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.071e-05/0.009019, allocations: 67.66 kB / 317 MB, free: 47.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.009033, allocations: 4 kB / 317 MB, free: 47.5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.009194, allocations: 116.9 kB / 317.1 MB, free: 47.37 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.393e-06/0.009195, allocations: 0 / 317.1 MB, free: 47.37 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009713/0.01017, allocations: 0.7157 MB / 317.8 MB, free: 46.6 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.103e-05/0.01019, allocations: 55.41 kB / 317.8 MB, free: 46.53 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.706e-05/0.01028, allocations: 230.8 kB / 318.1 MB, free: 46.29 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.0103, allocations: 33.7 kB / 318.1 MB, free: 46.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.341e-05/0.01035, allocations: 191.5 kB / 318.3 MB, free: 46.05 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.0104, allocations: 103.1 kB / 318.4 MB, free: 45.95 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.334e-05/0.01046, allocations: 55.36 kB / 318.4 MB, free: 45.89 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.431e-05/0.0105, allocations: 0.4962 MB / 318.9 MB, free: 45.38 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.515e-05/0.01059, allocations: 69.67 kB / 319 MB, free: 45.31 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.529e-05/0.01069, allocations: 108.8 kB / 319.1 MB, free: 45.19 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.01093, allocations: 231.8 kB / 319.3 MB, free: 44.94 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.01093, allocations: 0 / 319.3 MB, free: 44.94 MB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002769/0.01121, allocations: 280.6 kB / 319.6 MB, free: 44.65 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.01123, allocations: 29.7 kB / 319.6 MB, free: 44.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.01123, allocations: 0 / 319.6 MB, free: 44.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.01125, allocations: 5.922 kB / 319.7 MB, free: 44.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.01144, allocations: 63.97 kB / 319.7 MB, free: 44.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.01145, allocations: 7.875 kB / 319.7 MB, free: 44.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.01156, allocations: 19.98 kB / 319.7 MB, free: 44.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.01157, allocations: 4 kB / 319.7 MB, free: 44.52 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.000127/0.0117, allocations: 202.5 kB / 319.9 MB, free: 44.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.01173, allocations: 31.84 kB / 320 MB, free: 44.29 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.641e-05/0.01177, allocations: 30.64 kB / 320 MB, free: 44.26 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01177, allocations: 4 kB / 320 MB, free: 44.26 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.01177, allocations: 0 / 320 MB, free: 44.26 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.01178, allocations: 3.938 kB / 320 MB, free: 44.25 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005025/0.01228, allocations: 0.5747 MB / 320.6 MB, free: 43.63 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.01228, allocations: 0 / 320.6 MB, free: 43.63 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.01247, allocations: 63.91 kB / 320.7 MB, free: 43.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.01247, allocations: 0 / 320.7 MB, free: 43.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.01249, allocations: 8 kB / 320.7 MB, free: 43.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.01249, allocations: 0 / 320.7 MB, free: 43.56 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.01249, allocations: 7.938 kB / 320.7 MB, free: 43.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/0.01284, allocations: 416.7 kB / 321.1 MB, free: 43.12 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.118e-05/0.01287, allocations: 19.84 kB / 321.1 MB, free: 43.1 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.01289, allocations: 8 kB / 321.1 MB, free: 43.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.01301, allocations: 15.98 kB / 321.1 MB, free: 43.07 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.655e-05/0.01308, allocations: 23.95 kB / 321.1 MB, free: 43.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.01309, allocations: 15.98 kB / 321.2 MB, free: 43.04 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.024e-05/0.01314, allocations: 156.4 kB / 321.3 MB, free: 42.88 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01314, allocations: 0 / 321.3 MB, free: 42.88 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002762/0.01342, allocations: 63.94 kB / 321.4 MB, free: 42.82 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 7.139e-05/0.01349, allocations: 111.2 kB / 321.5 MB, free: 42.7 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002592/0.01375, allocations: 233.9 kB / 321.7 MB, free: 42.45 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.01375, allocations: 3.938 kB / 321.7 MB, free: 42.45 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.01386, allocations: 83.58 kB / 321.8 MB, free: 42.36 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.01422, allocations: 58.86 kB / 321.9 MB, free: 42.31 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.01559, allocations: 0.6781 MB / 322.5 MB, free: 41.6 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.093e-05/0.01564, allocations: 88.17 kB / 322.6 MB, free: 41.49 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.251e-05/0.01569, allocations: 23.59 kB / 322.6 MB, free: 41.47 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.192e-05/0.01574, allocations: 32.48 kB / 322.7 MB, free: 41.44 MB / 282.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01574, allocations: 0 / 322.7 MB, free: 41.44 MB / 282.7 MB Notification: Performance of Templates: time 0.003906/0.01965, allocations: 2.9 MB / 325.6 MB, free: 38.63 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: 3.0072410460561514]