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.001001/0.001001, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.005483/0.005483, allocations: 158.9 kB / 24.7 MB, free: 9.441 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 0.8753/0.8753, allocations: 177 MB / 204.9 MB, free: 5.75 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.473e-06/1.473e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.319e-05/2.467e-05, allocations: 5.094 kB / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002162/0.002187, allocations: 1.94 MB / 327.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.003257, allocations: 0.5453 MB / 328.2 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.003364, allocations: 4 kB / 328.2 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.003501, allocations: 19.73 kB / 328.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.728e-05/0.003568, allocations: 35.64 kB / 328.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.003814, allocations: 59.86 kB / 328.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.003971, allocations: 155.4 kB / 328.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.004108, allocations: 53.7 kB / 328.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.004277, allocations: 99.73 kB / 328.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.978e-05/0.004356, allocations: 51.86 kB / 328.7 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.00438, allocations: 16 kB / 328.7 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.441e-05/0.004424, allocations: 16 kB / 328.7 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.194e-05/0.004446, allocations: 35.84 kB / 328.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.809e-05/0.004484, allocations: 43.91 kB / 328.8 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.004678, allocations: 175.4 kB / 329 MB, free: 12.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.004681, allocations: 0 / 329 MB, free: 12.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.004682, allocations: 0 / 329 MB, free: 12.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.004686, allocations: 0 / 329 MB, free: 12.14 MB / 298.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.000457/0.005143, allocations: 377.6 kB / 329.4 MB, free: 11.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.005178, allocations: 11.98 kB / 329.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.005289, allocations: 24.83 kB / 329.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.0055, allocations: 149.6 kB / 329.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.005514, allocations: 12.12 kB / 329.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.902e-05/0.005543, allocations: 20.38 kB / 329.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.005742, allocations: 137.9 kB / 329.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.005756, allocations: 4.141 kB / 329.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.005769, allocations: 8.375 kB / 329.7 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.005777, allocations: 7.938 kB / 329.7 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.005901, allocations: 87.94 kB / 329.8 MB, free: 11.26 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004985/0.0064, allocations: 415.6 kB / 330.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.006519, allocations: 78.48 kB / 330.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.926e-05/0.006558, allocations: 28.78 kB / 330.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.006572, allocations: 4 kB / 330.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.006592, allocations: 42.56 kB / 330.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.006594, allocations: 0 / 330.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006333/0.007227, allocations: 446.9 kB / 330.8 MB, free: 10.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.007258, allocations: 59.34 kB / 330.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.502e-05/0.007343, allocations: 140.8 kB / 331 MB, free: 9.938 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.007353, allocations: 25.7 kB / 331 MB, free: 9.906 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.584e-05/0.007409, allocations: 140.2 kB / 331.2 MB, free: 9.766 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.007431, allocations: 39.64 kB / 331.2 MB, free: 9.727 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.007469, allocations: 37.7 kB / 331.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.173e-05/0.007541, allocations: 326.8 kB / 331.6 MB, free: 9.355 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.692e-05/0.007588, allocations: 27.98 kB / 331.6 MB, free: 9.328 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.833e-05/0.007656, allocations: 90.8 kB / 331.7 MB, free: 9.215 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.007775, allocations: 131.8 kB / 331.8 MB, free: 9.062 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.007776, allocations: 0 / 331.8 MB, free: 9.062 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001598/0.007936, allocations: 165.3 kB / 332 MB, free: 8.895 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.007948, allocations: 8 kB / 332 MB, free: 8.887 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.007953, allocations: 0 / 332 MB, free: 8.887 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.007965, allocations: 4.188 kB / 332 MB, free: 8.883 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.56e-05/0.008061, allocations: 39.92 kB / 332 MB, free: 8.844 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.008067, allocations: 4 kB / 332 MB, free: 8.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.232e-05/0.008109, allocations: 4 kB / 332 MB, free: 8.836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.008122, allocations: 8 kB / 332 MB, free: 8.828 MB / 298.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.0001031/0.008225, allocations: 137.6 kB / 332.2 MB, free: 8.684 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.008243, allocations: 7.953 kB / 332.2 MB, free: 8.676 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.689e-05/0.00827, allocations: 20.72 kB / 332.2 MB, free: 8.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.008272, allocations: 0 / 332.2 MB, free: 8.66 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.008276, allocations: 0 / 332.2 MB, free: 8.66 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.008279, allocations: 4 kB / 332.2 MB, free: 8.656 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003167/0.008595, allocations: 371.7 kB / 332.6 MB, free: 8.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.008597, allocations: 0 / 332.6 MB, free: 8.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.998e-05/0.008667, allocations: 23.98 kB / 332.6 MB, free: 8.227 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.00867, allocations: 4 kB / 332.6 MB, free: 8.223 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.008678, allocations: 4 kB / 332.6 MB, free: 8.219 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.00868, allocations: 0 / 332.6 MB, free: 8.219 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.008682, allocations: 7.875 kB / 332.6 MB, free: 8.211 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/0.008896, allocations: 252.2 kB / 332.8 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.212e-05/0.008908, allocations: 11.97 kB / 332.9 MB, free: 7.934 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.008921, allocations: 0 / 332.9 MB, free: 7.934 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.995e-05/0.008961, allocations: 7.938 kB / 332.9 MB, free: 7.926 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.008996, allocations: 15.92 kB / 332.9 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.009002, allocations: 4 kB / 332.9 MB, free: 7.906 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.958e-05/0.009052, allocations: 103.2 kB / 333 MB, free: 7.805 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009052, allocations: 0 / 333 MB, free: 7.805 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001798/0.009232, allocations: 20 kB / 333 MB, free: 7.785 MB / 298.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.0001058/0.009337, allocations: 103.5 kB / 333.1 MB, free: 7.672 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001718/0.009509, allocations: 91.77 kB / 333.2 MB, free: 7.582 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.009511, allocations: 0 / 333.2 MB, free: 7.582 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-05/0.009557, allocations: 35.92 kB / 333.2 MB, free: 7.547 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.009805, allocations: 27.09 kB / 333.3 MB, free: 7.523 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000576/0.01038, allocations: 385.8 kB / 333.6 MB, free: 7.109 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.429e-05/0.01045, allocations: 105.6 kB / 333.7 MB, free: 6.988 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.01048, allocations: 16.5 kB / 333.8 MB, free: 6.973 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01048, allocations: 0 / 333.8 MB, free: 6.973 MB / 298.7 MB Notification: Performance of Templates: time 0.002282/0.01276, allocations: 1.559 MB / 335.3 MB, free: 5.414 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 480] 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.134090604260564]