Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00115/0.00115, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001193/0.001193, allocations: 163.8 kB / 24.99 MB, free: 9.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.024/1.024, allocations: 177 MB / 205.2 MB, free: 5.227 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors") translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 273 MB, free: 1.598 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.91e-05/2.088e-05, allocations: 3.719 kB / 273 MB, free: 1.594 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003056/0.003077, allocations: 2.009 MB / 275 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009313/0.004008, allocations: 0.5647 MB / 275.6 MB, free: 15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.59e-05/0.004104, allocations: 4 kB / 275.6 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.004236, allocations: 23.78 kB / 275.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.298e-05/0.004319, allocations: 35.59 kB / 275.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.004577, allocations: 59.86 kB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.004789, allocations: 147.4 kB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.004951, allocations: 61.69 kB / 275.9 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.005146, allocations: 99.78 kB / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.005252, allocations: 47.88 kB / 276 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/0.00528, allocations: 16 kB / 276 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.624e-05/0.005336, allocations: 23.92 kB / 276.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.099e-05/0.005367, allocations: 31.86 kB / 276.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.325e-05/0.00543, allocations: 47.89 kB / 276.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.005649, allocations: 123.5 kB / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.005652, allocations: 0 / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005653, allocations: 0 / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.005657, allocations: 0 / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.000567/0.006224, allocations: 476 kB / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.006264, allocations: 11.98 kB / 276.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.006418, allocations: 36.83 kB / 276.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.006606, allocations: 144.4 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.006629, allocations: 16.38 kB / 276.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/0.006666, allocations: 20.33 kB / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.006903, allocations: 126.6 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.006917, allocations: 192 / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.006937, allocations: 12.38 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.006948, allocations: 7.938 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.00708, allocations: 47.95 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006739/0.007754, allocations: 463.1 kB / 277.6 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.007885, allocations: 59.05 kB / 277.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.00793, allocations: 23.67 kB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.007945, allocations: 4.188 kB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.00797, allocations: 41.33 kB / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.007971, allocations: 0 / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007455/0.008717, allocations: 407.7 kB / 278.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.008754, allocations: 59.39 kB / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.008875, allocations: 196.6 kB / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.008888, allocations: 25.7 kB / 278.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.667e-05/0.008975, allocations: 182.9 kB / 278.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.009008, allocations: 39.69 kB / 278.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.822e-05/0.009066, allocations: 43.36 kB / 278.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.009205, allocations: 0.5 MB / 279.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.162e-05/0.009246, allocations: 19.88 kB / 279.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.219e-05/0.009339, allocations: 93.48 kB / 279.3 MB, free: 11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.009477, allocations: 117.4 kB / 279.4 MB, free: 10.85 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.009478, allocations: 0 / 279.4 MB, free: 10.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002123/0.00969, allocations: 133.4 kB / 279.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.009707, allocations: 8 kB / 279.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.009713, allocations: 0 / 279.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.009728, allocations: 4 kB / 279.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.009882, allocations: 39.91 kB / 279.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/0.00989, allocations: 4 kB / 279.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.897e-05/0.009949, allocations: 4 kB / 279.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.009961, allocations: 8.047 kB / 279.6 MB, free: 10.65 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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 9.444e-05/0.01006, allocations: 180.5 kB / 279.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.01009, allocations: 15.94 kB / 279.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.698e-05/0.01013, allocations: 12.78 kB / 279.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.01013, allocations: 3.984 kB / 279.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.01013, allocations: 0 / 279.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.01014, allocations: 4 kB / 279.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004434/0.01058, allocations: 405.7 kB / 280.2 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.01059, allocations: 8 kB / 280.2 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.0107, allocations: 19.98 kB / 280.2 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.01071, allocations: 8.062 kB / 280.2 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.01072, allocations: 4 kB / 280.2 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.01072, allocations: 4 kB / 280.2 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.01073, allocations: 7.875 kB / 280.2 MB, free: 9.93 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.01096, allocations: 271.2 kB / 280.5 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.238e-05/0.01098, allocations: 11.89 kB / 280.5 MB, free: 9.625 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.01099, allocations: 4 kB / 280.5 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.568e-05/0.01107, allocations: 4 kB / 280.5 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.01111, allocations: 11.92 kB / 280.5 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.01111, allocations: 4 kB / 280.5 MB, free: 9.602 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.085e-05/0.01119, allocations: 151.1 kB / 280.7 MB, free: 9.453 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01119, allocations: 0 / 280.7 MB, free: 9.453 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003051/0.01149, allocations: 24 kB / 280.7 MB, free: 9.43 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mass.s,mass.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 7.852e-05/0.01157, allocations: 95.25 kB / 280.8 MB, free: 9.328 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001541/0.01172, allocations: 75.53 kB / 280.9 MB, free: 9.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01172, allocations: 0 / 280.9 MB, free: 9.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.193e-05/0.01178, allocations: 35.98 kB / 280.9 MB, free: 9.211 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.0121, allocations: 20.58 kB / 280.9 MB, free: 9.191 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007973/0.01289, allocations: 373.8 kB / 281.3 MB, free: 8.789 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.083e-05/0.01295, allocations: 67.34 kB / 281.4 MB, free: 8.703 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.898e-05/0.01299, allocations: 16.97 kB / 281.4 MB, free: 8.684 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.387e-05/0.01303, allocations: 16.44 kB / 281.4 MB, free: 8.668 MB / 266.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01303, allocations: 0 / 281.4 MB, free: 8.668 MB / 266.7 MB Notification: Performance of Templates: time 0.003072/0.0161, allocations: 0.8587 MB / 282.2 MB, free: 7.824 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.684301549103111]