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.00162/0.00162, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001843/0.001843, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 63.45 kB / 307 MB, free: 0.6133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09875/0.1007, allocations: 50.54 MB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003513/0.1042, allocations: 1.987 MB / 359.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1053, allocations: 0.5843 MB / 360.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.1054, allocations: 4 kB / 360.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.1056, allocations: 15.8 kB / 360.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.676e-05/0.1057, allocations: 35.64 kB / 360.2 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.1059, allocations: 55.88 kB / 360.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.1062, allocations: 147.4 kB / 360.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.1064, allocations: 73.5 kB / 360.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.1066, allocations: 67.77 kB / 360.5 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.1067, allocations: 67.7 kB / 360.6 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.1067, allocations: 12 kB / 360.6 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.036e-05/0.1068, allocations: 27.94 kB / 360.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.883e-05/0.1068, allocations: 35.84 kB / 360.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.804e-05/0.1069, allocations: 71.67 kB / 360.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.1072, allocations: 171.7 kB / 360.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1072, allocations: 0 / 360.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1072, allocations: 0 / 360.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1072, allocations: 0 / 360.9 MB, free: 10.7 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.0007189/0.1079, allocations: 447 kB / 361.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.108, allocations: 8.031 kB / 361.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/0.1082, allocations: 28.75 kB / 361.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.1084, allocations: 208 kB / 361.5 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.1085, allocations: 12.38 kB / 361.6 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.281e-05/0.1085, allocations: 20.38 kB / 361.6 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003169/0.1088, allocations: 145.7 kB / 361.7 MB, free: 9.758 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.1089, allocations: 0 / 361.7 MB, free: 9.758 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.1089, allocations: 4 kB / 361.7 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.1089, allocations: 4 kB / 361.7 MB, free: 9.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002207/0.1091, allocations: 91.88 kB / 361.8 MB, free: 9.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008495/0.11, allocations: 0.5288 MB / 362.3 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.1102, allocations: 82.42 kB / 362.4 MB, free: 8.984 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.268e-05/0.1102, allocations: 32.84 kB / 362.5 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.1103, allocations: 0 / 362.5 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.1103, allocations: 34.56 kB / 362.5 MB, free: 8.906 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.1103, allocations: 0 / 362.5 MB, free: 8.906 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.001051/0.1114, allocations: 0.5984 MB / 363.1 MB, free: 8.215 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.1114, allocations: 55.34 kB / 363.1 MB, free: 8.148 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.1115, allocations: 130 kB / 363.3 MB, free: 8.012 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.1116, allocations: 29.7 kB / 363.3 MB, free: 7.977 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.325e-05/0.1117, allocations: 132 kB / 363.4 MB, free: 7.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/0.1117, allocations: 43.44 kB / 363.5 MB, free: 7.797 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.486e-05/0.1118, allocations: 37.61 kB / 363.5 MB, free: 7.754 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1119, allocations: 322.8 kB / 363.8 MB, free: 7.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.627e-05/0.112, allocations: 27.98 kB / 363.8 MB, free: 7.402 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.1121, allocations: 89.25 kB / 363.9 MB, free: 7.293 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.1123, allocations: 138.6 kB / 364.1 MB, free: 7.133 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1123, allocations: 4 kB / 364.1 MB, free: 7.129 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002683/0.1126, allocations: 157.3 kB / 364.2 MB, free: 6.969 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1126, allocations: 4 kB / 364.2 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.1126, allocations: 4 kB / 364.2 MB, free: 6.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1127, allocations: 4 kB / 364.2 MB, free: 6.957 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.1128, allocations: 32.17 kB / 364.3 MB, free: 6.926 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.1129, allocations: 11.88 kB / 364.3 MB, free: 6.914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.028e-05/0.1129, allocations: 8 kB / 364.3 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.113, allocations: 8 kB / 364.3 MB, free: 6.898 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.1131, allocations: 130.9 kB / 364.4 MB, free: 6.762 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.1131, allocations: 7.906 kB / 364.4 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.554e-05/0.1132, allocations: 12.72 kB / 364.4 MB, free: 6.742 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1132, allocations: 4 kB / 364.4 MB, free: 6.738 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.1132, allocations: 3.984 kB / 364.5 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.1132, allocations: 7.984 kB / 364.5 MB, free: 6.727 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005635/0.1138, allocations: 440 kB / 364.9 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1138, allocations: 0 / 364.9 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.1139, allocations: 27.92 kB / 364.9 MB, free: 6.207 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.495e-06/0.1139, allocations: 8 kB / 364.9 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.114, allocations: 4.062 kB / 364.9 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.114, allocations: 4 kB / 364.9 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.114, allocations: 4 kB / 364.9 MB, free: 6.188 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003606/0.1143, allocations: 257.1 kB / 365.2 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.675e-05/0.1144, allocations: 81.02 kB / 365.3 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.1144, allocations: 8.062 kB / 365.3 MB, free: 5.809 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.277e-05/0.1145, allocations: 7.984 kB / 365.3 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.1146, allocations: 4 kB / 365.3 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.1146, allocations: 4 kB / 365.3 MB, free: 5.793 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.809e-05/0.1147, allocations: 103.2 kB / 365.4 MB, free: 5.691 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1147, allocations: 0 / 365.4 MB, free: 5.691 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.1149, allocations: 28 kB / 365.4 MB, free: 5.664 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 (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.0001128/0.115, allocations: 99.25 kB / 365.5 MB, free: 5.555 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002359/0.1153, allocations: 91.78 kB / 365.6 MB, free: 5.465 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1153, allocations: 0 / 365.6 MB, free: 5.465 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.367e-05/0.1154, allocations: 43.91 kB / 365.6 MB, free: 5.422 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.1157, allocations: 15.94 kB / 365.7 MB, free: 5.406 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007398/0.1165, allocations: 428.2 kB / 366.1 MB, free: 4.953 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.1168, allocations: 0.7119 MB / 366.8 MB, free: 4.215 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.773e-05/0.1169, allocations: 16.86 kB / 366.8 MB, free: 4.199 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.718e-05/0.1169, allocations: 19.44 kB / 366.8 MB, free: 4.18 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1169, allocations: 0 / 366.8 MB, free: 4.18 MB / 302.1 MB Notification: Performance of Templates: time 0.003615/0.1206, allocations: 0.8562 MB / 367.7 MB, free: 3.328 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.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) Reference file matches