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.001346/0.001346, allocations: 104.4 kB / 19.7 MB, free: 2.137 MB / 14.72 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.001429/0.001429, allocations: 217.5 kB / 22.99 MB, free: 4.965 MB / 14.72 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.413/1.413, allocations: 207.7 MB / 233.8 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] 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.06122/0.06122, allocations: 8.199 MB / 294.3 MB, free: 13.46 MB / 238.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaByExample requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 78.22 kB / 411.7 MB, free: 46.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06258/0.0649, allocations: 50.94 MB / 462.6 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem): time 0.003701/0.0686, allocations: 2.283 MB / 464.9 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.06967, allocations: 0.6047 MB / 465.5 MB, free: 9.895 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.06977, allocations: 7.938 kB / 465.5 MB, free: 9.887 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.06991, allocations: 35.64 kB / 465.5 MB, free: 9.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001561/0.07006, allocations: 67.36 kB / 465.6 MB, free: 9.785 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.07029, allocations: 71.91 kB / 465.7 MB, free: 9.715 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003524/0.07064, allocations: 298.7 kB / 466 MB, free: 9.422 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.07081, allocations: 70.23 kB / 466 MB, free: 9.352 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.07097, allocations: 119.6 kB / 466.1 MB, free: 9.234 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.07113, allocations: 107.5 kB / 466.3 MB, free: 9.129 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.195e-05/0.07117, allocations: 24 kB / 466.3 MB, free: 9.105 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.989e-05/0.07122, allocations: 24 kB / 466.3 MB, free: 9.082 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.886e-05/0.07128, allocations: 47.84 kB / 466.3 MB, free: 9.035 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.0714, allocations: 107.5 kB / 466.5 MB, free: 8.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003277/0.07172, allocations: 282.8 kB / 466.7 MB, free: 8.652 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.07173, allocations: 4 kB / 466.7 MB, free: 8.648 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.07173, allocations: 0 / 466.7 MB, free: 8.648 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.07174, allocations: 0 / 466.7 MB, free: 8.648 MB / 334.1 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.000992/0.07273, allocations: 0.5031 MB / 467.2 MB, free: 8.109 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.07276, allocations: 11.98 kB / 467.2 MB, free: 8.098 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.963e-05/0.07283, allocations: 40.67 kB / 467.3 MB, free: 8.059 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.07315, allocations: 190.8 kB / 467.5 MB, free: 7.848 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.07317, allocations: 16.81 kB / 467.5 MB, free: 7.832 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/0.07322, allocations: 20.38 kB / 467.5 MB, free: 7.812 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005046/0.07372, allocations: 227.5 kB / 467.7 MB, free: 7.582 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.07374, allocations: 0 / 467.7 MB, free: 7.582 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.07377, allocations: 12 kB / 467.7 MB, free: 7.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.07378, allocations: 4 kB / 467.7 MB, free: 7.566 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005618/0.07434, allocations: 193.6 kB / 467.9 MB, free: 7.379 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009827/0.07532, allocations: 0.5675 MB / 468.5 MB, free: 6.773 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007026/0.07602, allocations: 230.5 kB / 468.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002975/0.07632, allocations: 108.8 kB / 468.8 MB, free: 6.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.07634, allocations: 8 kB / 468.8 MB, free: 6.422 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003938/0.07674, allocations: 163.2 kB / 469 MB, free: 6.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.593e-06/0.07674, allocations: 0 / 469 MB, free: 6.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.002366/0.0791, allocations: 0.9758 MB / 470 MB, free: 5.223 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.07916, allocations: 55.41 kB / 470 MB, free: 5.156 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.07932, allocations: 162.6 kB / 470.2 MB, free: 4.988 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.07935, allocations: 33.7 kB / 470.2 MB, free: 4.949 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.07946, allocations: 144.8 kB / 470.4 MB, free: 4.801 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.967e-05/0.07955, allocations: 111 kB / 470.5 MB, free: 4.691 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.197e-05/0.07964, allocations: 53.7 kB / 470.5 MB, free: 4.633 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.07981, allocations: 326.8 kB / 470.8 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/0.08012, allocations: 121.6 kB / 471 MB, free: 4.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003138/0.08043, allocations: 147.2 kB / 471.1 MB, free: 4.023 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.08177, allocations: 0.5154 MB / 471.6 MB, free: 3.484 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.08178, allocations: 4 kB / 471.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007655/0.08254, allocations: 362.2 kB / 472 MB, free: 3.109 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.583e-05/0.08258, allocations: 29.7 kB / 472 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.08258, allocations: 0 / 472 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.0826, allocations: 19.89 kB / 472 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/0.0829, allocations: 67.89 kB / 472.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.0829, allocations: 0 / 472.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.08312, allocations: 31.97 kB / 472.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.08313, allocations: 4 kB / 472.1 MB, free: 2.953 MB / 334.1 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.0002359/0.08337, allocations: 170.2 kB / 472.3 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.0834, allocations: 23.8 kB / 472.3 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.64e-05/0.08347, allocations: 34.58 kB / 472.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.08347, allocations: 4 kB / 472.4 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.08348, allocations: 0 / 472.4 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.08348, allocations: 0 / 472.4 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.08464, allocations: 0.6094 MB / 473 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.08464, allocations: 3.984 kB / 473 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003137/0.08495, allocations: 71.89 kB / 473 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.08496, allocations: 4 kB / 473 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.08498, allocations: 8 kB / 473.1 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.08498, allocations: 4.062 kB / 473.1 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.08498, allocations: 0 / 473.1 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.08603, allocations: 0.502 MB / 473.6 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/0.08607, allocations: 15.91 kB / 473.6 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.08611, allocations: 12.03 kB / 473.6 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.08633, allocations: 19.98 kB / 473.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-05/0.0864, allocations: 27.95 kB / 473.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.08642, allocations: 11.98 kB / 473.6 MB, free: 1.363 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.08652, allocations: 124.5 kB / 473.8 MB, free: 1.242 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.08652, allocations: 0 / 473.8 MB, free: 1.242 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003119/0.08683, allocations: 64 kB / 473.8 MB, free: 1.18 MB / 334.1 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.0001102/0.08694, allocations: 103.2 kB / 473.9 MB, free: 1.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007388/0.08768, allocations: 325.4 kB / 474.2 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.08768, allocations: 0 / 474.2 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003206/0.088, allocations: 123.8 kB / 474.4 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.08842, allocations: 63.48 kB / 474.4 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.09101, allocations: 0.9027 MB / 475.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001383/0.09115, allocations: 142.2 kB / 475.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.09125, allocations: 19.44 kB / 475.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.09125, allocations: 3.938 kB / 475.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of Templates: time 0.005436/0.09669, allocations: 3.112 MB / 478.6 MB, free: 12.32 MB / 350.1 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=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.648371065035462] Failed to read output from testmodel.py, exit status != 0: 0.10428247367963195 0.11921027799999995 0.044503665000000005 Calling exit ...