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.001143/0.001143, allocations: 101.3 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001535/0.001535, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002016/0.0002017, allocations: 4 kB / 307.1 MB, free: 1.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1023, allocations: 51.53 MB / 358.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.001988/0.1044, allocations: 1.644 MB / 360.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008319/0.1052, allocations: 0.5419 MB / 360.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.034e-05/0.1053, allocations: 4 kB / 360.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.571e-05/0.1054, allocations: 11.86 kB / 360.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.067e-05/0.1055, allocations: 27.78 kB / 360.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.1057, allocations: 47.94 kB / 360.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.1059, allocations: 135.5 kB / 361 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.106, allocations: 54.12 kB / 361.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.1062, allocations: 51.8 kB / 361.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.324e-05/0.1063, allocations: 63.75 kB / 361.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.1063, allocations: 8 kB / 361.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.811e-05/0.1064, allocations: 8 kB / 361.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.697e-05/0.1064, allocations: 31.8 kB / 361.3 MB, free: 11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.684e-05/0.1064, allocations: 45.64 kB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.1066, allocations: 123.9 kB / 361.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1066, allocations: 0 / 361.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1066, allocations: 4 kB / 361.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1066, allocations: 0 / 361.4 MB, free: 10.83 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.0005433/0.1072, allocations: 419 kB / 361.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.1072, allocations: 12.03 kB / 361.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.1074, allocations: 23.81 kB / 361.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.1076, allocations: 214.7 kB / 362.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.1076, allocations: 8 kB / 362.1 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.1076, allocations: 16 kB / 362.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.1079, allocations: 146 kB / 362.2 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.1079, allocations: 0 / 362.2 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.108, allocations: 15.94 kB / 362.3 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.108, allocations: 0 / 362.3 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.1082, allocations: 99.92 kB / 362.4 MB, free: 9.801 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000757/0.1089, allocations: 0.5249 MB / 362.9 MB, free: 9.219 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.1091, allocations: 82.55 kB / 363 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.904e-05/0.1092, allocations: 28.84 kB / 363 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.1092, allocations: 4 kB / 363 MB, free: 9.094 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.1092, allocations: 38.56 kB / 363 MB, free: 9.047 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.1093, allocations: 192 / 363 MB, free: 9.047 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009468/0.1102, allocations: 0.6099 MB / 363.6 MB, free: 8.344 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.1103, allocations: 52.44 kB / 363.7 MB, free: 8.281 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.843e-05/0.1104, allocations: 136.3 kB / 363.8 MB, free: 8.137 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.1104, allocations: 29.7 kB / 363.9 MB, free: 8.102 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.722e-05/0.1105, allocations: 132 kB / 364 MB, free: 7.969 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.1105, allocations: 43.34 kB / 364 MB, free: 7.926 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.197e-06/0.1105, allocations: 8 kB / 364 MB, free: 7.918 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1106, allocations: 322.8 kB / 364.3 MB, free: 7.594 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.606e-05/0.1107, allocations: 31.98 kB / 364.4 MB, free: 7.562 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.1108, allocations: 90.78 kB / 364.5 MB, free: 7.449 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.425e-05/0.1109, allocations: 51.92 kB / 364.5 MB, free: 7.398 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.1109, allocations: 4 kB / 364.5 MB, free: 7.395 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002694/0.1112, allocations: 153.4 kB / 364.7 MB, free: 7.238 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1112, allocations: 4 kB / 364.7 MB, free: 7.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1112, allocations: 0 / 364.7 MB, free: 7.234 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.1113, allocations: 4 kB / 364.7 MB, free: 7.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.1114, allocations: 52.05 kB / 364.7 MB, free: 7.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1114, allocations: 0 / 364.7 MB, free: 7.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.828e-05/0.1115, allocations: 12 kB / 364.7 MB, free: 7.168 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.1116, allocations: 7.984 kB / 364.7 MB, free: 7.16 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.071e-05/0.1116, allocations: 133.7 kB / 364.9 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.1117, allocations: 7.906 kB / 364.9 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.327e-05/0.1117, allocations: 12.7 kB / 364.9 MB, free: 7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1117, allocations: 4 kB / 364.9 MB, free: 6.996 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1117, allocations: 11.89 kB / 364.9 MB, free: 6.984 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.1117, allocations: 0 / 364.9 MB, free: 6.984 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005083/0.1123, allocations: 440 kB / 365.3 MB, free: 6.492 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1123, allocations: 0 / 365.3 MB, free: 6.492 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.1124, allocations: 32.05 kB / 365.4 MB, free: 6.461 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.1124, allocations: 7.953 kB / 365.4 MB, free: 6.453 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.1125, allocations: 3.938 kB / 365.4 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1125, allocations: 4 kB / 365.4 MB, free: 6.445 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1125, allocations: 0 / 365.4 MB, free: 6.445 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.1128, allocations: 249.1 kB / 365.6 MB, free: 6.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.1128, allocations: 89.27 kB / 365.7 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.1129, allocations: 7.953 kB / 365.7 MB, free: 6.066 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.231e-05/0.113, allocations: 7.938 kB / 365.7 MB, free: 6.059 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.113, allocations: 11.92 kB / 365.7 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.113, allocations: 7.938 kB / 365.8 MB, free: 6.039 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.319e-05/0.1131, allocations: 103.3 kB / 365.9 MB, free: 5.938 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1131, allocations: 0 / 365.9 MB, free: 5.938 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.1134, allocations: 28 kB / 365.9 MB, free: 5.91 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 8.999e-05/0.1135, allocations: 91.25 kB / 366 MB, free: 5.809 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002138/0.1137, allocations: 96.2 kB / 366.1 MB, free: 5.715 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1137, allocations: 4 kB / 366.1 MB, free: 5.711 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.942e-05/0.1138, allocations: 43.92 kB / 366.1 MB, free: 5.668 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.1141, allocations: 8 kB / 366.1 MB, free: 5.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007206/0.1148, allocations: 0.5113 MB / 366.6 MB, free: 5.117 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.1151, allocations: 0.716 MB / 367.3 MB, free: 4.375 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.946e-05/0.1152, allocations: 12.88 kB / 367.4 MB, free: 4.359 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.915e-05/0.1152, allocations: 11.44 kB / 367.4 MB, free: 4.348 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1152, allocations: 7.938 kB / 367.4 MB, free: 4.34 MB / 302.1 MB Notification: Performance of Templates: time 0.002929/0.1182, allocations: 0.7601 MB / 368.1 MB, free: 3.582 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches