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.002508/0.002508, allocations: 99.53 kB / 20.97 MB, free: 3.449 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.002974/0.002974, allocations: 160.8 kB / 24.27 MB, free: 152 kB / 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.538/1.538, allocations: 177 MB / 204.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 178] 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.372e-06/1.372e-06, allocations: 0 / 272.2 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.757e-05, allocations: 2.312 kB / 272.2 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003607/0.003635, allocations: 1.997 MB / 274.2 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.004729, allocations: 0.5415 MB / 274.7 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.536e-05/0.004825, allocations: 4 kB / 274.7 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.004963, allocations: 31.72 kB / 274.7 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.488e-05/0.005058, allocations: 39.64 kB / 274.8 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.005317, allocations: 55.86 kB / 274.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002414/0.005559, allocations: 155.3 kB / 275 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.005717, allocations: 53.69 kB / 275 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/0.005955, allocations: 103.8 kB / 275.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.006076, allocations: 43.88 kB / 275.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.006108, allocations: 12 kB / 275.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.462e-05/0.006172, allocations: 20 kB / 275.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.176e-05/0.006214, allocations: 31.91 kB / 275.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.878e-05/0.006293, allocations: 59.83 kB / 275.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003065/0.006599, allocations: 175.4 kB / 275.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.006602, allocations: 3.938 kB / 275.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.006603, allocations: 0 / 275.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.006608, allocations: 0 / 275.5 MB, free: 14.52 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.0007318/0.00734, allocations: 479.7 kB / 276 MB, free: 14.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.00738, allocations: 11.98 kB / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.007544, allocations: 32.84 kB / 276 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.007779, allocations: 160.4 kB / 276.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.007796, allocations: 8.375 kB / 276.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.007836, allocations: 16.38 kB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.00812, allocations: 137.9 kB / 276.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.00814, allocations: 8.125 kB / 276.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.008157, allocations: 4.375 kB / 276.3 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.00817, allocations: 7.938 kB / 276.3 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002093/0.008379, allocations: 83.89 kB / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008845/0.009264, allocations: 0.4952 MB / 276.9 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.009456, allocations: 86.97 kB / 277 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.121e-05/0.009527, allocations: 23.69 kB / 277 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.00955, allocations: 4 kB / 277 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.009588, allocations: 37.38 kB / 277.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.113e-06/0.00959, allocations: 0 / 277.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.001103/0.01069, allocations: 476.3 kB / 277.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.01074, allocations: 51.41 kB / 277.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.01094, allocations: 213.8 kB / 277.8 MB, free: 12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.01096, allocations: 25.7 kB / 277.8 MB, free: 11.97 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004055/0.01137, allocations: 179 kB / 278 MB, free: 11.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.247e-05/0.01142, allocations: 51.62 kB / 278 MB, free: 11.74 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.15e-05/0.01149, allocations: 39.38 kB / 278.1 MB, free: 11.69 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002736/0.01176, allocations: 0.5 MB / 278.6 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.997e-05/0.01184, allocations: 31.98 kB / 278.6 MB, free: 11.15 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.012, allocations: 109.4 kB / 278.7 MB, free: 11.01 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/0.01224, allocations: 157.4 kB / 278.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.01225, allocations: 0 / 278.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002928/0.01254, allocations: 157.4 kB / 279 MB, free: 10.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.01256, allocations: 12.19 kB / 279 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.01256, allocations: 0 / 279 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.01258, allocations: 4 kB / 279 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.01274, allocations: 31.98 kB / 279.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.01275, allocations: 7.938 kB / 279.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.118e-05/0.01283, allocations: 11.98 kB / 279.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.01284, allocations: 4 kB / 279.1 MB, free: 10.59 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 0.0001519/0.01299, allocations: 180.5 kB / 279.3 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.01302, allocations: 7.953 kB / 279.3 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.671e-05/0.01308, allocations: 16.78 kB / 279.3 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.01308, allocations: 4 kB / 279.3 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.01308, allocations: 3.938 kB / 279.3 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.01309, allocations: 4 kB / 279.3 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006317/0.01372, allocations: 448.5 kB / 279.7 MB, free: 9.875 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01372, allocations: 0 / 279.7 MB, free: 9.875 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.01386, allocations: 27.98 kB / 279.8 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.01386, allocations: 0 / 279.8 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.01387, allocations: 0 / 279.8 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.01387, allocations: 4 kB / 279.8 MB, free: 9.844 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.01388, allocations: 8 kB / 279.8 MB, free: 9.836 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004492/0.01433, allocations: 307.1 kB / 280.1 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.974e-05/0.01435, allocations: 11.94 kB / 280.1 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.01437, allocations: 0 / 280.1 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.313e-05/0.01445, allocations: 8 kB / 280.1 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.0145, allocations: 11.92 kB / 280.1 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.01451, allocations: 4 kB / 280.1 MB, free: 9.473 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001108/0.01462, allocations: 146.1 kB / 280.3 MB, free: 9.332 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01462, allocations: 0 / 280.3 MB, free: 9.332 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002729/0.01489, allocations: 35.97 kB / 280.3 MB, free: 9.297 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 0.0001541/0.01505, allocations: 95.25 kB / 280.4 MB, free: 9.195 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002728/0.01532, allocations: 103.5 kB / 280.5 MB, free: 9.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.01532, allocations: 3.938 kB / 280.5 MB, free: 9.086 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.554e-05/0.01542, allocations: 47.61 kB / 280.5 MB, free: 9.035 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.01575, allocations: 20.48 kB / 280.6 MB, free: 9.016 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008262/0.01658, allocations: 386.9 kB / 280.9 MB, free: 8.602 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.01669, allocations: 97.56 kB / 281 MB, free: 8.488 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.113e-05/0.01675, allocations: 16.97 kB / 281 MB, free: 8.465 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.01679, allocations: 12.5 kB / 281.1 MB, free: 8.453 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0168, allocations: 0 / 281.1 MB, free: 8.453 MB / 266.7 MB Notification: Performance of Templates: time 0.004261/0.02106, allocations: 0.8529 MB / 281.9 MB, free: 7.605 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.326440750970505]