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.001418/0.001418, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00163/0.00163, allocations: 215.6 kB / 22.25 MB, free: 4.855 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.498/1.498, allocations: 207.7 MB / 233.1 MB, free: 9.797 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.0524/0.0524, allocations: 8.201 MB / 293.5 MB, free: 13.48 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.002308/0.002308, allocations: 76.56 kB / 410.9 MB, free: 46.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08012/0.08243, allocations: 50.93 MB / 461.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem): time 0.004505/0.08693, allocations: 2.287 MB / 464.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.08822, allocations: 0.6125 MB / 464.7 MB, free: 9.895 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.08836, allocations: 11.94 kB / 464.8 MB, free: 9.883 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.08853, allocations: 35.59 kB / 464.8 MB, free: 9.848 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001874/0.08872, allocations: 75.34 kB / 464.9 MB, free: 9.773 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.08898, allocations: 67.91 kB / 464.9 MB, free: 9.707 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000389/0.08937, allocations: 290.8 kB / 465.2 MB, free: 9.422 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002089/0.08958, allocations: 66.23 kB / 465.3 MB, free: 9.355 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.08976, allocations: 127.5 kB / 465.4 MB, free: 9.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.08993, allocations: 103.5 kB / 465.5 MB, free: 9.129 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.516e-05/0.08999, allocations: 24 kB / 465.5 MB, free: 9.105 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.947e-05/0.09003, allocations: 27.94 kB / 465.6 MB, free: 9.078 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.516e-05/0.0901, allocations: 55.81 kB / 465.6 MB, free: 9.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.09024, allocations: 103.5 kB / 465.7 MB, free: 8.922 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000411/0.09065, allocations: 278.8 kB / 466 MB, free: 8.648 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.09066, allocations: 3.938 kB / 466 MB, free: 8.645 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.09066, allocations: 0 / 466 MB, free: 8.645 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.914e-06/0.09067, allocations: 4 kB / 466 MB, free: 8.641 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.00111/0.09178, allocations: 0.4993 MB / 466.5 MB, free: 8.105 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.09182, allocations: 11.98 kB / 466.5 MB, free: 8.094 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.975e-05/0.09191, allocations: 28.75 kB / 466.5 MB, free: 8.066 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.09227, allocations: 186.8 kB / 466.7 MB, free: 7.859 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.09229, allocations: 20.8 kB / 466.7 MB, free: 7.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.476e-05/0.09235, allocations: 20.38 kB / 466.7 MB, free: 7.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005342/0.09288, allocations: 227.5 kB / 467 MB, free: 7.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.09291, allocations: 7.984 kB / 467 MB, free: 7.582 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.09293, allocations: 16 kB / 467 MB, free: 7.566 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.09294, allocations: 4 kB / 467 MB, free: 7.562 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005816/0.09352, allocations: 193.6 kB / 467.2 MB, free: 7.375 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.09454, allocations: 0.5636 MB / 467.8 MB, free: 6.773 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007552/0.0953, allocations: 234.5 kB / 468 MB, free: 6.535 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.0956, allocations: 104.8 kB / 468.1 MB, free: 6.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.09562, allocations: 3.984 kB / 468.1 MB, free: 6.426 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004318/0.09606, allocations: 163.2 kB / 468.2 MB, free: 6.254 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.723e-06/0.09606, allocations: 0 / 468.2 MB, free: 6.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.00246/0.09852, allocations: 0.9719 MB / 469.2 MB, free: 5.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.09857, allocations: 55.41 kB / 469.3 MB, free: 5.164 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.09873, allocations: 166.6 kB / 469.4 MB, free: 4.992 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.971e-05/0.09877, allocations: 37.62 kB / 469.5 MB, free: 4.949 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.769e-05/0.09886, allocations: 144.8 kB / 469.6 MB, free: 4.801 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.763e-05/0.09896, allocations: 118.9 kB / 469.7 MB, free: 4.684 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.334e-05/0.09905, allocations: 45.7 kB / 469.8 MB, free: 4.633 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.0992, allocations: 334.8 kB / 470.1 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/0.09952, allocations: 113.6 kB / 470.2 MB, free: 4.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/0.09987, allocations: 155.2 kB / 470.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.1013, allocations: 0.5113 MB / 470.9 MB, free: 3.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1013, allocations: 0 / 470.9 MB, free: 3.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007832/0.102, allocations: 362.2 kB / 471.2 MB, free: 3.109 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.765e-05/0.1021, allocations: 37.69 kB / 471.3 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1021, allocations: 0 / 471.3 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1021, allocations: 7.938 kB / 471.3 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.1024, allocations: 75.92 kB / 471.3 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1024, allocations: 0 / 471.3 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.1026, allocations: 23.97 kB / 471.4 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.1026, allocations: 12 kB / 471.4 MB, free: 2.949 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.0002204/0.1029, allocations: 165.6 kB / 471.5 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.1029, allocations: 23.84 kB / 471.6 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.218e-05/0.103, allocations: 30.59 kB / 471.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.103, allocations: 4 kB / 471.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.103, allocations: 0 / 471.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.103, allocations: 3.984 kB / 471.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.1042, allocations: 0.6055 MB / 472.2 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.1042, allocations: 4 kB / 472.2 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003236/0.1045, allocations: 63.89 kB / 472.3 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.1045, allocations: 4 kB / 472.3 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.1045, allocations: 4 kB / 472.3 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.1045, allocations: 8 kB / 472.3 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1045, allocations: 64 / 472.3 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.1056, allocations: 0.5059 MB / 472.8 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.74e-05/0.1056, allocations: 20.03 kB / 472.8 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/0.1057, allocations: 7.984 kB / 472.8 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.1059, allocations: 27.97 kB / 472.9 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.221e-05/0.106, allocations: 31.95 kB / 472.9 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.106, allocations: 7.938 kB / 472.9 MB, free: 1.363 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.1061, allocations: 124.5 kB / 473 MB, free: 1.242 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1061, allocations: 0 / 473 MB, free: 1.242 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003111/0.1064, allocations: 60 kB / 473.1 MB, free: 1.184 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.0001184/0.1065, allocations: 111.1 kB / 473.2 MB, free: 1.066 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007468/0.1073, allocations: 321.4 kB / 473.5 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1073, allocations: 4 kB / 473.5 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00035/0.1076, allocations: 131.8 kB / 473.6 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.108, allocations: 51.28 kB / 473.7 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002589/0.1106, allocations: 0.8661 MB / 474.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/0.1108, allocations: 146.1 kB / 474.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.088e-05/0.1109, allocations: 17.95 kB / 474.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.738e-05/0.1109, allocations: 19.44 kB / 474.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1109, allocations: 4 kB / 474.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of Templates: time 0.00706/0.118, allocations: 3.165 MB / 477.9 MB, free: 12.33 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: 4.677649213001132] Failed to read output from testmodel.py, exit status != 0: 0.12607224099338055 0.141621181 0.047850972000000006 Calling exit ...