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.0006524/0.0006524, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008676/0.00152, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.00156/0.00156, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001618/0.003177, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.8395/0.8395, allocations: 158.6 MB / 171 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1402/0.9797, allocations: 49.5 MB / 220.5 MB, free: 1.434 MB / 218.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.0293/0.0293, allocations: 6.394 MB / 227.7 MB, free: 10.32 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003929/0.03323, allocations: 2.177 MB / 229.8 MB, free: 8.133 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_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: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 231 MB, free: 6.973 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.624e-05/1.781e-05, allocations: 2.312 kB / 231 MB, free: 6.969 MB / 234.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1): time 0.002441/0.002459, allocations: 2.477 MB / 233.5 MB, free: 4.473 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008089/0.003268, allocations: 0.7016 MB / 234.2 MB, free: 3.762 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.692e-05/0.003365, allocations: 7.938 kB / 234.2 MB, free: 3.754 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.146e-05/0.003446, allocations: 27.66 kB / 234.2 MB, free: 3.727 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.003564, allocations: 83.27 kB / 234.3 MB, free: 3.645 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001498/0.003713, allocations: 71.78 kB / 234.4 MB, free: 3.574 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002573/0.003971, allocations: 310.6 kB / 234.7 MB, free: 3.27 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.004099, allocations: 68.31 kB / 234.7 MB, free: 3.203 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.004285, allocations: 196.3 kB / 234.9 MB, free: 3.012 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.004395, allocations: 99.69 kB / 235 MB, free: 2.914 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.004427, allocations: 24 kB / 235.1 MB, free: 2.891 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.658e-05/0.004454, allocations: 24 kB / 235.1 MB, free: 2.867 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.166e-05/0.004486, allocations: 35.88 kB / 235.1 MB, free: 2.832 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.609e-05/0.004552, allocations: 75.81 kB / 235.2 MB, free: 2.758 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.004753, allocations: 179.3 kB / 235.4 MB, free: 2.582 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.41e-05/0.004768, allocations: 4 kB / 235.4 MB, free: 2.578 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.004768, allocations: 4 kB / 235.4 MB, free: 2.574 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.004781, allocations: 0 / 235.4 MB, free: 2.574 MB / 234.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.000626/0.005407, allocations: 0.517 MB / 235.9 MB, free: 2.027 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.005444, allocations: 8.031 kB / 235.9 MB, free: 2.02 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/0.005498, allocations: 36.91 kB / 235.9 MB, free: 1.984 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.005687, allocations: 173.3 kB / 236.1 MB, free: 1.789 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.005703, allocations: 16.88 kB / 236.1 MB, free: 1.773 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/0.005737, allocations: 28.36 kB / 236.1 MB, free: 1.746 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.005943, allocations: 173 kB / 236.3 MB, free: 1.566 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.005955, allocations: 3.953 kB / 236.3 MB, free: 1.562 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.005969, allocations: 12 kB / 236.3 MB, free: 1.551 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.005975, allocations: 4 kB / 236.3 MB, free: 1.547 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.401e-05/0.006059, allocations: 59.45 kB / 236.4 MB, free: 1.488 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005461/0.006605, allocations: 418.2 kB / 236.8 MB, free: 1.062 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.006829, allocations: 130.4 kB / 236.9 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.048e-05/0.00688, allocations: 52.84 kB / 237 MB, free: 0.8711 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.006892, allocations: 4 kB / 237 MB, free: 0.8672 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.007031, allocations: 109.2 kB / 237.1 MB, free: 0.75 MB / 234.7 MB Notification: Performance of pre-optimization done (n=27): time 1.814e-06/0.007033, allocations: 0 / 237.1 MB, free: 0.75 MB / 234.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008931/0.007926, allocations: 0.6826 MB / 237.8 MB, free: 16 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.007974, allocations: 63.28 kB / 237.8 MB, free: 15.94 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.17e-05/0.008066, allocations: 166.9 kB / 238 MB, free: 15.77 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.008084, allocations: 29.7 kB / 238 MB, free: 15.73 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.299e-05/0.008147, allocations: 136.8 kB / 238.2 MB, free: 15.59 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.586e-05/0.008203, allocations: 111 kB / 238.3 MB, free: 15.48 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-05/0.00826, allocations: 57.66 kB / 238.3 MB, free: 15.42 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.604e-05/0.008346, allocations: 338.8 kB / 238.7 MB, free: 15.08 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.594e-05/0.008412, allocations: 61.95 kB / 238.7 MB, free: 15.01 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.328e-05/0.008485, allocations: 97.02 kB / 238.8 MB, free: 14.9 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.008674, allocations: 223.2 kB / 239 MB, free: 14.66 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.008676, allocations: 0 / 239 MB, free: 14.66 MB / 250.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0001809/0.008857, allocations: 212.7 kB / 239.2 MB, free: 14.44 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.782e-05/0.008895, allocations: 37.69 kB / 239.3 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.008902, allocations: 0 / 239.3 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.00891, allocations: 4.062 kB / 239.3 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.00913, allocations: 91.83 kB / 239.4 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.009138, allocations: 4 kB / 239.4 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.203e-05/0.00922, allocations: 15.98 kB / 239.4 MB, free: 14.28 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.009235, allocations: 12 kB / 239.4 MB, free: 14.27 MB / 250.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: 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.000166/0.009401, allocations: 167.7 kB / 239.6 MB, free: 14.09 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.00943, allocations: 27.97 kB / 239.6 MB, free: 14.07 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.955e-05/0.009469, allocations: 22.66 kB / 239.6 MB, free: 14.04 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.009473, allocations: 7.938 kB / 239.6 MB, free: 14.04 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.009477, allocations: 0 / 239.6 MB, free: 14.04 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.009482, allocations: 3.984 kB / 239.6 MB, free: 14.03 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004637/0.009946, allocations: 451.8 kB / 240.1 MB, free: 13.55 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.009949, allocations: 4 kB / 240.1 MB, free: 13.55 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.01014, allocations: 75.89 kB / 240.1 MB, free: 13.48 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.431e-05/0.01017, allocations: 23.84 kB / 240.2 MB, free: 13.45 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.01017, allocations: 0 / 240.2 MB, free: 13.45 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.01019, allocations: 11.98 kB / 240.2 MB, free: 13.44 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.01019, allocations: 0 / 240.2 MB, free: 13.44 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.01019, allocations: 4 kB / 240.2 MB, free: 13.44 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.01047, allocations: 313.9 kB / 240.5 MB, free: 13.11 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.0105, allocations: 11.98 kB / 240.5 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.479e-05/0.01058, allocations: 16 kB / 240.5 MB, free: 13.08 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.01064, allocations: 27.94 kB / 240.5 MB, free: 13.05 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.01065, allocations: 8 kB / 240.5 MB, free: 13.04 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.49e-05/0.01068, allocations: 46.06 kB / 240.6 MB, free: 13 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01068, allocations: 0 / 240.6 MB, free: 13 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001826/0.01087, allocations: 64 kB / 240.7 MB, free: 12.93 MB / 250.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: 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.000102/0.01097, allocations: 96.36 kB / 240.8 MB, free: 12.83 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.01117, allocations: 221.7 kB / 241 MB, free: 12.59 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/0.01118, allocations: 4 kB / 241 MB, free: 12.59 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.771e-05/0.01126, allocations: 80.69 kB / 241 MB, free: 12.51 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.0115, allocations: 71.83 kB / 241.1 MB, free: 12.44 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003072/0.01457, allocations: 0.609 MB / 241.7 MB, free: 11.8 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.903e-05/0.01463, allocations: 92.67 kB / 241.8 MB, free: 11.69 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.01473, allocations: 30.31 kB / 241.8 MB, free: 11.66 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.01486, allocations: 99.36 kB / 241.9 MB, free: 11.56 MB / 250.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01486, allocations: 0 / 241.9 MB, free: 11.56 MB / 250.7 MB Notification: Performance of Templates: time 0.005235/0.02009, allocations: 3.334 MB / 245.3 MB, free: 8.219 MB / 250.7 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=240 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Architectures.SensorComparison.Examples.FlatSystem_Variation1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.582424188964069]