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.001156/0.001156, allocations: 93.06 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.001388/0.001388, allocations: 173.3 kB / 23.02 MB, free: 1.547 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.006/1.006, allocations: 158.6 MB / 184.9 MB, free: 2.91 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.03419/0.03419, allocations: 6.4 MB / 243.6 MB, free: 8.723 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.054e-06/2.054e-06, allocations: 0 / 310.7 MB, free: 51.97 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.546e-05, allocations: 7.297 kB / 310.7 MB, free: 51.97 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem): time 0.003392/0.003418, allocations: 2.43 MB / 313.1 MB, free: 50.39 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.004741, allocations: 0.6334 MB / 313.8 MB, free: 49.95 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001859/0.004927, allocations: 3.75 kB / 313.8 MB, free: 49.95 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.005091, allocations: 40.19 kB / 313.8 MB, free: 49.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002001/0.005291, allocations: 77.25 kB / 313.9 MB, free: 49.87 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.005606, allocations: 72.23 kB / 314 MB, free: 49.83 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003978/0.006004, allocations: 301.6 kB / 314.3 MB, free: 49.68 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.006187, allocations: 64.06 kB / 314.3 MB, free: 49.65 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002889/0.006476, allocations: 175.4 kB / 314.5 MB, free: 49.58 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.00663, allocations: 94.75 kB / 314.6 MB, free: 49.55 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.341e-05/0.006673, allocations: 23.66 kB / 314.6 MB, free: 49.55 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.086e-05/0.006714, allocations: 23.5 kB / 314.6 MB, free: 49.55 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.535e-05/0.006759, allocations: 56.56 kB / 314.7 MB, free: 49.51 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.006863, allocations: 85.25 kB / 314.8 MB, free: 49.48 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.007157, allocations: 202.6 kB / 315 MB, free: 49.38 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.00716, allocations: 0 / 315 MB, free: 49.38 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.007161, allocations: 1.375 kB / 315 MB, free: 49.38 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.007167, allocations: 0 / 315 MB, free: 49.38 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.0008/0.007967, allocations: 0.5867 MB / 315.6 MB, free: 48.87 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.008009, allocations: 13.58 kB / 315.6 MB, free: 48.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.838e-05/0.008108, allocations: 46.95 kB / 315.6 MB, free: 48.84 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.008377, allocations: 191.6 kB / 315.8 MB, free: 48.67 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.008405, allocations: 21.58 kB / 315.8 MB, free: 48.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.956e-05/0.008455, allocations: 28.86 kB / 315.9 MB, free: 48.65 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003382/0.008793, allocations: 186 kB / 316 MB, free: 48.49 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.008811, allocations: 4.188 kB / 316 MB, free: 48.49 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.008832, allocations: 9.25 kB / 316.1 MB, free: 48.48 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.008845, allocations: 7.938 kB / 316.1 MB, free: 48.47 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.009, allocations: 86.92 kB / 316.1 MB, free: 48.39 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007296/0.00973, allocations: 0.6046 MB / 316.7 MB, free: 47.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/0.01006, allocations: 149.9 kB / 316.9 MB, free: 47.59 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.409e-05/0.01015, allocations: 74.27 kB / 317 MB, free: 47.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.01016, allocations: 4 kB / 317 MB, free: 47.51 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00018/0.01034, allocations: 113 kB / 317.1 MB, free: 47.39 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 3.877e-06/0.01035, allocations: 0 / 317.1 MB, free: 47.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.001024/0.01137, allocations: 0.7158 MB / 317.8 MB, free: 46.62 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.0114, allocations: 59.34 kB / 317.9 MB, free: 46.55 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.0115, allocations: 230.8 kB / 318.1 MB, free: 46.3 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.01152, allocations: 33.64 kB / 318.1 MB, free: 46.27 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.932e-05/0.01158, allocations: 199.5 kB / 318.3 MB, free: 46.06 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.34e-05/0.01163, allocations: 103.1 kB / 318.4 MB, free: 45.96 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.558e-05/0.0117, allocations: 55.36 kB / 318.5 MB, free: 45.9 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.264e-05/0.01175, allocations: 0.504 MB / 319 MB, free: 45.38 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.823e-05/0.01184, allocations: 65.67 kB / 319 MB, free: 45.31 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.593e-05/0.01193, allocations: 100.9 kB / 319.1 MB, free: 45.2 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.01219, allocations: 227.7 kB / 319.4 MB, free: 44.96 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.01219, allocations: 0 / 319.4 MB, free: 44.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000292/0.01248, allocations: 268.7 kB / 319.6 MB, free: 44.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.01251, allocations: 37.73 kB / 319.7 MB, free: 44.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.01252, allocations: 0 / 319.7 MB, free: 44.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.01253, allocations: 3.984 kB / 319.7 MB, free: 44.63 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.01273, allocations: 67.91 kB / 319.7 MB, free: 44.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.01274, allocations: 7.938 kB / 319.7 MB, free: 44.56 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.01285, allocations: 15.98 kB / 319.7 MB, free: 44.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.01287, allocations: 12 kB / 319.8 MB, free: 44.53 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.0001594/0.01303, allocations: 205.2 kB / 320 MB, free: 44.33 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.01306, allocations: 27.91 kB / 320 MB, free: 44.3 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.008e-05/0.0131, allocations: 26.66 kB / 320 MB, free: 44.28 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.0131, allocations: 0 / 320 MB, free: 44.28 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.01311, allocations: 0 / 320 MB, free: 44.28 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.01312, allocations: 11.92 kB / 320 MB, free: 44.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005478/0.01366, allocations: 0.5674 MB / 320.6 MB, free: 43.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.01367, allocations: 4 kB / 320.6 MB, free: 43.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/0.01386, allocations: 63.84 kB / 320.7 MB, free: 43.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.01387, allocations: 0 / 320.7 MB, free: 43.58 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.01389, allocations: 11.98 kB / 320.7 MB, free: 43.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.01389, allocations: 0 / 320.7 MB, free: 43.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01389, allocations: 0 / 320.7 MB, free: 43.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.01428, allocations: 416.6 kB / 321.1 MB, free: 43.14 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.385e-05/0.0143, allocations: 27.89 kB / 321.1 MB, free: 43.11 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.01433, allocations: 4 kB / 321.1 MB, free: 43.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.01445, allocations: 19.98 kB / 321.1 MB, free: 43.09 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.311e-05/0.01452, allocations: 31.95 kB / 321.2 MB, free: 43.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.01453, allocations: 7.938 kB / 321.2 MB, free: 43.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.338e-05/0.01459, allocations: 156.4 kB / 321.3 MB, free: 42.89 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01459, allocations: 0 / 321.3 MB, free: 42.89 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002832/0.01487, allocations: 64 kB / 321.4 MB, free: 42.83 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 9.404e-05/0.01496, allocations: 111.1 kB / 321.5 MB, free: 42.71 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002869/0.01525, allocations: 237.9 kB / 321.7 MB, free: 42.46 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01525, allocations: 0 / 321.7 MB, free: 42.46 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.01536, allocations: 87.58 kB / 321.8 MB, free: 42.37 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.01573, allocations: 53.55 kB / 321.9 MB, free: 42.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.01722, allocations: 0.6806 MB / 322.5 MB, free: 41.61 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.079e-05/0.01727, allocations: 88.19 kB / 322.6 MB, free: 41.5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.32e-05/0.01735, allocations: 23.06 kB / 322.6 MB, free: 41.48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.244e-05/0.01741, allocations: 24.5 kB / 322.7 MB, free: 41.46 MB / 282.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01741, allocations: 4 kB / 322.7 MB, free: 41.46 MB / 282.7 MB Notification: Performance of Templates: time 0.005873/0.02329, allocations: 3.054 MB / 325.7 MB, free: 38.48 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.8823642381466925]