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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009105/0.0009106, allocations: 98.09 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009579/0.000958, allocations: 204.5 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002133/0.0002133, allocations: 4 kB / 306.6 MB, free: 1.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1057, allocations: 51.5 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002324/0.1081, allocations: 1.605 MB / 359.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008993/0.109, allocations: 0.5224 MB / 360.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.42e-05/0.1091, allocations: 4 kB / 360.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.528e-05/0.1091, allocations: 15.86 kB / 360.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.955e-05/0.1092, allocations: 31.92 kB / 360.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.1094, allocations: 39.84 kB / 360.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.1096, allocations: 95.81 kB / 360.4 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.1098, allocations: 64.69 kB / 360.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.1099, allocations: 55.83 kB / 360.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.974e-05/0.11, allocations: 51.72 kB / 360.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1101, allocations: 8 kB / 360.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.548e-05/0.1101, allocations: 15.98 kB / 360.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.628e-05/0.1101, allocations: 27.86 kB / 360.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.1102, allocations: 45.64 kB / 360.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.1103, allocations: 127.9 kB / 360.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1103, allocations: 4 kB / 360.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1104, allocations: 0 / 360.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.1104, allocations: 0 / 360.8 MB, free: 11.2 MB / 302.1 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.0005032/0.1109, allocations: 414.7 kB / 361.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.1109, allocations: 8.031 kB / 361.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.1111, allocations: 27.8 kB / 361.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.1113, allocations: 210.8 kB / 361.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.1113, allocations: 12 kB / 361.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.132e-05/0.1114, allocations: 23.86 kB / 361.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.1117, allocations: 133.6 kB / 361.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.1117, allocations: 0 / 361.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.1117, allocations: 4 kB / 361.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.1117, allocations: 4 kB / 361.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002139/0.1119, allocations: 99.69 kB / 361.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008598/0.1128, allocations: 0.529 MB / 362.2 MB, free: 9.605 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.113, allocations: 78.48 kB / 362.3 MB, free: 9.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.113, allocations: 0 / 362.3 MB, free: 9.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.113, allocations: 42.56 kB / 362.3 MB, free: 9.469 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.113, allocations: 0 / 362.3 MB, free: 9.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.001045/0.1141, allocations: 0.5956 MB / 362.9 MB, free: 8.781 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.1141, allocations: 59.5 kB / 363 MB, free: 8.711 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.1143, allocations: 137.6 kB / 363.1 MB, free: 8.566 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.1143, allocations: 29.7 kB / 363.1 MB, free: 8.531 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.07e-05/0.1144, allocations: 132 kB / 363.3 MB, free: 8.398 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.49e-05/0.1145, allocations: 39.45 kB / 363.3 MB, free: 8.359 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.1145, allocations: 3.938 kB / 363.3 MB, free: 8.355 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1146, allocations: 326.8 kB / 363.6 MB, free: 8.027 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.374e-05/0.1147, allocations: 27.98 kB / 363.7 MB, free: 8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.1148, allocations: 94.84 kB / 363.8 MB, free: 7.883 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.044e-05/0.1149, allocations: 43.98 kB / 363.8 MB, free: 7.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1149, allocations: 0 / 363.8 MB, free: 7.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002516/0.1152, allocations: 165.3 kB / 364 MB, free: 7.672 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1152, allocations: 4 kB / 364 MB, free: 7.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1152, allocations: 4.188 kB / 364 MB, free: 7.664 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.1152, allocations: 4 kB / 364 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.1154, allocations: 39.97 kB / 364 MB, free: 7.621 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.1154, allocations: 11.89 kB / 364 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.008e-05/0.1155, allocations: 8 kB / 364 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.1155, allocations: 4 kB / 364 MB, free: 7.598 MB / 302.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.322e-05/0.1156, allocations: 125.8 kB / 364.2 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.1156, allocations: 7.906 kB / 364.2 MB, free: 7.457 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.404e-05/0.1157, allocations: 24.36 kB / 364.2 MB, free: 7.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1157, allocations: 0 / 364.2 MB, free: 7.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1157, allocations: 0 / 364.2 MB, free: 7.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1157, allocations: 3.953 kB / 364.2 MB, free: 7.426 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000526/0.1163, allocations: 444.1 kB / 364.6 MB, free: 6.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1163, allocations: 96 / 364.6 MB, free: 6.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.1164, allocations: 35.86 kB / 364.7 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.1164, allocations: 3.953 kB / 364.7 MB, free: 6.891 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.1164, allocations: 0 / 364.7 MB, free: 6.891 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.1164, allocations: 4 kB / 364.7 MB, free: 6.887 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1165, allocations: 3.938 kB / 364.7 MB, free: 6.883 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/0.1168, allocations: 284.4 kB / 364.9 MB, free: 6.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/0.1169, allocations: 85.05 kB / 365 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.1169, allocations: 4 kB / 365 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.22e-05/0.117, allocations: 4 kB / 365 MB, free: 6.461 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.117, allocations: 12.05 kB / 365.1 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.117, allocations: 4 kB / 365.1 MB, free: 6.445 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.361e-05/0.1171, allocations: 101.7 kB / 365.2 MB, free: 6.348 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1171, allocations: 0 / 365.2 MB, free: 6.348 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.1174, allocations: 28 kB / 365.2 MB, free: 6.32 MB / 302.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002049/0.1176, allocations: 91.25 kB / 365.3 MB, free: 6.219 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002124/0.1178, allocations: 103.8 kB / 365.4 MB, free: 6.117 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1178, allocations: 0 / 365.4 MB, free: 6.117 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.757e-05/0.1179, allocations: 43.92 kB / 365.4 MB, free: 6.074 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.1181, allocations: 11.95 kB / 365.4 MB, free: 6.062 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007062/0.1188, allocations: 0.5156 MB / 365.9 MB, free: 5.516 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.1191, allocations: 0.716 MB / 366.7 MB, free: 4.773 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.556e-05/0.1191, allocations: 16.86 kB / 366.7 MB, free: 4.754 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.1192, allocations: 15.44 kB / 366.7 MB, free: 4.742 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1192, allocations: 0 / 366.7 MB, free: 4.742 MB / 302.1 MB Notification: Performance of Templates: time 0.002755/0.1219, allocations: 0.7661 MB / 367.5 MB, free: 3.98 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches