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.001821/0.001821, allocations: 81.55 kB / 19.76 MB, free: 2.027 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.001974/0.001974, allocations: 157.8 kB / 23.01 MB, free: 4.945 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.316/1.316, allocations: 158.6 MB / 184.8 MB, free: 6.176 MB / 174.1 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.04945/0.04945, allocations: 6.428 MB / 243.4 MB, free: 12.71 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.003397/0.003397, allocations: 83.88 kB / 360.8 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1166, allocations: 50.9 MB / 411.7 MB, free: 8.168 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem): time 0.004262/0.1209, allocations: 2.295 MB / 414 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.122, allocations: 0.6047 MB / 414.6 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.1222, allocations: 7.938 kB / 414.6 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.1223, allocations: 27.66 kB / 414.6 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.1225, allocations: 83.33 kB / 414.7 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.1227, allocations: 67.92 kB / 414.8 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003615/0.1231, allocations: 298.7 kB / 415.1 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.1233, allocations: 62.38 kB / 415.1 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.1234, allocations: 123.5 kB / 415.3 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.1236, allocations: 107.5 kB / 415.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.6e-05/0.1237, allocations: 24 kB / 415.4 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.365e-05/0.1237, allocations: 24 kB / 415.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.16e-05/0.1238, allocations: 55.83 kB / 415.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.1239, allocations: 103.5 kB / 415.6 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000354/0.1243, allocations: 278.8 kB / 415.8 MB, free: 4 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.1243, allocations: 4 kB / 415.8 MB, free: 3.996 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1243, allocations: 4 kB / 415.8 MB, free: 3.992 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1243, allocations: 0 / 415.8 MB, free: 3.992 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.00105/0.1253, allocations: 0.5032 MB / 416.3 MB, free: 3.449 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1254, allocations: 11.98 kB / 416.4 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.237e-05/0.1254, allocations: 32.75 kB / 416.4 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.1258, allocations: 188.4 kB / 416.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.1258, allocations: 20.88 kB / 416.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.378e-05/0.1258, allocations: 16.38 kB / 416.6 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005415/0.1264, allocations: 228.3 kB / 416.8 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.1264, allocations: 0 / 416.8 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/0.1264, allocations: 16 kB / 416.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.1264, allocations: 7.938 kB / 416.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006005/0.127, allocations: 197.8 kB / 417.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009847/0.128, allocations: 0.5563 MB / 417.6 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007487/0.1288, allocations: 234.5 kB / 417.8 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003154/0.1291, allocations: 108.8 kB / 417.9 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.1291, allocations: 0 / 417.9 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004161/0.1295, allocations: 167.2 kB / 418.1 MB, free: 1.602 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.503e-06/0.1295, allocations: 4 kB / 418.1 MB, free: 1.598 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.002557/0.1321, allocations: 0.9755 MB / 419.1 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.1321, allocations: 55.41 kB / 419.1 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.1323, allocations: 166.6 kB / 419.3 MB, free: 340 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.1323, allocations: 29.7 kB / 419.3 MB, free: 304 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.1324, allocations: 144.8 kB / 419.5 MB, free: 152 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.426e-05/0.1325, allocations: 103.1 kB / 419.6 MB, free: 48 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.1326, allocations: 61.69 kB / 419.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1328, allocations: 326.8 kB / 420 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/0.1331, allocations: 117.6 kB / 420.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003515/0.1335, allocations: 147.2 kB / 420.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.1349, allocations: 0.5154 MB / 420.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1349, allocations: 3.938 kB / 420.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000803/0.1357, allocations: 370.2 kB / 421.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.011e-05/0.1358, allocations: 29.7 kB / 421.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1358, allocations: 0 / 421.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.1358, allocations: 7.938 kB / 421.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003112/0.1361, allocations: 67.89 kB / 421.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1361, allocations: 8.016 kB / 421.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.1363, allocations: 23.98 kB / 421.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.1364, allocations: 8 kB / 421.2 MB, free: 14.3 MB / 350.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.0002396/0.1366, allocations: 169.5 kB / 421.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.231e-05/0.1366, allocations: 19.86 kB / 421.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.786e-05/0.1367, allocations: 34.58 kB / 421.5 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.1367, allocations: 4 kB / 421.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1367, allocations: 0 / 421.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1367, allocations: 3.938 kB / 421.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.1379, allocations: 0.6172 MB / 422.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.1379, allocations: 4 kB / 422.1 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000356/0.1383, allocations: 67.89 kB / 422.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.1383, allocations: 4 kB / 422.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.1383, allocations: 7.984 kB / 422.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.433e-06/0.1383, allocations: 4 kB / 422.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1383, allocations: 0 / 422.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.1394, allocations: 0.506 MB / 422.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.923e-05/0.1394, allocations: 15.91 kB / 422.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.1395, allocations: 4 kB / 422.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.1397, allocations: 24.02 kB / 422.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.147e-05/0.1398, allocations: 27.95 kB / 422.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.1398, allocations: 12 kB / 422.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.1399, allocations: 128.5 kB / 422.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1399, allocations: 0 / 422.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000308/0.1402, allocations: 60 kB / 422.9 MB, free: 12.53 MB / 350.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.0001197/0.1403, allocations: 107.2 kB / 423 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007495/0.1411, allocations: 325.5 kB / 423.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1411, allocations: 0 / 423.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003463/0.1414, allocations: 127.8 kB / 423.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.1419, allocations: 43.91 kB / 423.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/0.1445, allocations: 0.8622 MB / 424.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.1446, allocations: 142.2 kB / 424.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.579e-05/0.1447, allocations: 17.95 kB / 424.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.414e-05/0.1448, allocations: 24.5 kB / 424.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1448, allocations: 8 kB / 424.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of Templates: time 0.006967/0.1517, allocations: 2.889 MB / 427.5 MB, free: 7.965 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 -s ida -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.484467288013548] Failed to read output from testmodel.py, exit status != 0: 0.16081820602994412 0.33513082 0.208028984 Calling exit ...