Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.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.001692/0.001692, allocations: 77.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.001721/0.001721, allocations: 156.4 kB / 23.01 MB, free: 4.949 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.326/1.326, allocations: 158.6 MB / 184.8 MB, free: 6.184 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.04936/0.04936, allocations: 6.423 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_Variation1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1") translateModel(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1") [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.002588/0.002588, allocations: 79.88 kB / 360.8 MB, free: 11.15 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09601/0.0986, allocations: 50.9 MB / 411.7 MB, free: 8.156 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1): time 0.004077/0.1027, allocations: 2.303 MB / 414 MB, free: 5.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.1041, allocations: 0.6398 MB / 414.6 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.1043, allocations: 7.938 kB / 414.7 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.1045, allocations: 39.59 kB / 414.7 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.1047, allocations: 75.39 kB / 414.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.105, allocations: 79.72 kB / 414.8 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004276/0.1054, allocations: 294.8 kB / 415.1 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.1056, allocations: 70.36 kB / 415.2 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.1058, allocations: 123.5 kB / 415.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.106, allocations: 107.5 kB / 415.4 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.872e-05/0.1061, allocations: 28 kB / 415.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.297e-05/0.1061, allocations: 24 kB / 415.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.722e-05/0.1062, allocations: 63.7 kB / 415.5 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.1063, allocations: 107.5 kB / 415.6 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003702/0.1067, allocations: 278.8 kB / 415.9 MB, free: 3.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1067, allocations: 0 / 415.9 MB, free: 3.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1067, allocations: 0 / 415.9 MB, free: 3.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.365e-06/0.1067, allocations: 0 / 415.9 MB, free: 3.91 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.001128/0.1078, allocations: 0.5226 MB / 416.4 MB, free: 3.348 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.1079, allocations: 19.97 kB / 416.5 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.682e-05/0.108, allocations: 24.8 kB / 416.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/0.1084, allocations: 178.2 kB / 416.7 MB, free: 3.105 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.1084, allocations: 12.88 kB / 416.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.748e-05/0.1085, allocations: 28.36 kB / 416.7 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005443/0.109, allocations: 228.3 kB / 416.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.109, allocations: 7.953 kB / 416.9 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.109, allocations: 12 kB / 416.9 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.1091, allocations: 7.984 kB / 416.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005975/0.1097, allocations: 197.8 kB / 417.1 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.1107, allocations: 0.5297 MB / 417.7 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007296/0.1114, allocations: 234.5 kB / 417.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003302/0.1118, allocations: 108.8 kB / 418 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.1118, allocations: 4 kB / 418 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004317/0.1122, allocations: 178.7 kB / 418.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 1.773e-06/0.1122, allocations: 3.938 kB / 418.2 MB, free: 1.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.002676/0.1149, allocations: 1.049 MB / 419.2 MB, free: 424 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.1149, allocations: 55.41 kB / 419.3 MB, free: 356 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.1151, allocations: 170.5 kB / 419.5 MB, free: 176 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.1151, allocations: 29.7 kB / 419.5 MB, free: 140 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.1152, allocations: 149 kB / 419.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.1154, allocations: 111.1 kB / 419.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.304e-05/0.1154, allocations: 53.7 kB / 419.8 MB, free: 15.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1156, allocations: 334.8 kB / 420.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003649/0.116, allocations: 126 kB / 420.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003605/0.1163, allocations: 161.1 kB / 420.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.1178, allocations: 0.5596 MB / 421 MB, free: 14.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1178, allocations: 3.938 kB / 421 MB, free: 14.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008454/0.1187, allocations: 392 kB / 421.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.726e-05/0.1187, allocations: 33.7 kB / 421.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.1187, allocations: 0 / 421.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.1187, allocations: 7.938 kB / 421.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003251/0.1191, allocations: 79.94 kB / 421.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.1191, allocations: 4 kB / 421.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.1193, allocations: 23.97 kB / 421.5 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.1193, allocations: 12 kB / 421.5 MB, free: 14.02 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: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$PRE.trapezoid.count,$PRE.trapezoid.T_start,$PRE.speedSensor.w,trapezoid.count,trapezoid.T_start,speedSensor.w,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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.0002367/0.1196, allocations: 168.2 kB / 421.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.1196, allocations: 19.86 kB / 421.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.062e-05/0.1197, allocations: 34.58 kB / 421.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1197, allocations: 4 kB / 421.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1197, allocations: 0 / 421.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.1197, allocations: 3.984 kB / 421.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.121, allocations: 0.6866 MB / 422.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.121, allocations: 0 / 422.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003472/0.1213, allocations: 67.89 kB / 422.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.1214, allocations: 4 kB / 422.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.1214, allocations: 4 kB / 422.5 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.1214, allocations: 12.05 kB / 422.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1214, allocations: 3.938 kB / 422.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.1225, allocations: 0.538 MB / 423 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.13e-05/0.1226, allocations: 11.91 kB / 423.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.1226, allocations: 8 kB / 423.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002422/0.1229, allocations: 27.97 kB / 423.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.824e-05/0.1229, allocations: 27.95 kB / 423.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.123, allocations: 8 kB / 423.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.1231, allocations: 123.2 kB / 423.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1231, allocations: 0 / 423.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003423/0.1234, allocations: 67.98 kB / 423.3 MB, free: 12.13 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: 5 ($whenCondition2,$whenCondition1,speedSensor.w,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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001153/0.1235, allocations: 115.1 kB / 423.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000818/0.1243, allocations: 336.8 kB / 423.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1243, allocations: 0 / 423.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003788/0.1247, allocations: 143.7 kB / 423.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.1251, allocations: 50.89 kB / 423.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002739/0.1279, allocations: 0.8776 MB / 424.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.128, allocations: 142.6 kB / 425 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.798e-05/0.1281, allocations: 26.28 kB / 425 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.7e-05/0.1282, allocations: 24.5 kB / 425 MB, free: 10.34 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1282, allocations: 0 / 425 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Templates: time 0.00742/0.1356, allocations: 3.002 MB / 428 MB, free: 7.398 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.makefile [Timeout 660] (rm -f ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.pipe >> ../files/ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.sim & ./ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.620627561002038] Failed to read output from testmodel.py, exit status != 0: 0.14414778794161975 0.324566089 0.214983105 Calling exit ...