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.001403/0.001403, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001741/0.001741, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 61.78 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1061, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.004205/0.1103, allocations: 1.995 MB / 360.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.1116, allocations: 0.5687 MB / 361.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002042/0.1118, allocations: 4 kB / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001775/0.1121, allocations: 31.72 kB / 361.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.1122, allocations: 31.7 kB / 361.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.1125, allocations: 51.88 kB / 361.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003056/0.1128, allocations: 155.4 kB / 361.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.1131, allocations: 66.61 kB / 361.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.1133, allocations: 75.7 kB / 361.9 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.1134, allocations: 67.7 kB / 361.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.1135, allocations: 12 kB / 361.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.28e-05/0.1136, allocations: 16 kB / 362 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.562e-05/0.1136, allocations: 39.84 kB / 362 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.033e-05/0.1137, allocations: 71.66 kB / 362.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.1139, allocations: 163.4 kB / 362.2 MB, free: 10 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1139, allocations: 0 / 362.2 MB, free: 10 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.114, allocations: 0 / 362.2 MB, free: 10 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.198e-06/0.114, allocations: 8 kB / 362.2 MB, free: 9.996 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.0006759/0.1147, allocations: 439 kB / 362.7 MB, free: 9.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1147, allocations: 12.03 kB / 362.7 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.1149, allocations: 24.73 kB / 362.7 MB, free: 9.484 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.1152, allocations: 216 kB / 362.9 MB, free: 9.234 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.1152, allocations: 8.375 kB / 362.9 MB, free: 9.227 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.1153, allocations: 24.31 kB / 362.9 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.1155, allocations: 149.6 kB / 363.1 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.1156, allocations: 0 / 363.1 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.1156, allocations: 8 kB / 363.1 MB, free: 9.043 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1156, allocations: 4 kB / 363.1 MB, free: 9.039 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.1158, allocations: 91.94 kB / 363.2 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007675/0.1166, allocations: 0.5209 MB / 363.7 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.1168, allocations: 82.53 kB / 363.8 MB, free: 8.281 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.389e-05/0.1168, allocations: 24.86 kB / 363.8 MB, free: 8.254 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.1169, allocations: 192 / 363.8 MB, free: 8.254 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.1169, allocations: 46.48 kB / 363.9 MB, free: 8.199 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.1169, allocations: 4 kB / 363.9 MB, free: 8.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009676/0.1179, allocations: 0.5835 MB / 364.4 MB, free: 7.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.1179, allocations: 59.28 kB / 364.5 MB, free: 7.449 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.118, allocations: 133.1 kB / 364.6 MB, free: 7.309 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.1181, allocations: 29.7 kB / 364.7 MB, free: 7.273 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.508e-05/0.1182, allocations: 132 kB / 364.8 MB, free: 7.137 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.1182, allocations: 47.44 kB / 364.8 MB, free: 7.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.1183, allocations: 37.61 kB / 364.9 MB, free: 7.047 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.746e-05/0.1184, allocations: 322.8 kB / 365.2 MB, free: 6.723 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.483e-05/0.1184, allocations: 32.11 kB / 365.2 MB, free: 6.691 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.1186, allocations: 89.25 kB / 365.3 MB, free: 6.582 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.1187, allocations: 134.7 kB / 365.4 MB, free: 6.426 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1188, allocations: 4 kB / 365.4 MB, free: 6.422 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002458/0.119, allocations: 149.4 kB / 365.6 MB, free: 6.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.119, allocations: 4 kB / 365.6 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.119, allocations: 4.188 kB / 365.6 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1191, allocations: 8 kB / 365.6 MB, free: 6.254 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.1192, allocations: 43.91 kB / 365.6 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1193, allocations: 3.938 kB / 365.7 MB, free: 6.207 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.773e-05/0.1193, allocations: 4 kB / 365.7 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.1193, allocations: 12 kB / 365.7 MB, free: 6.191 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 9.668e-05/0.1195, allocations: 133.7 kB / 365.8 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.1195, allocations: 7.906 kB / 365.8 MB, free: 6.043 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.78e-05/0.1195, allocations: 16.7 kB / 365.8 MB, free: 6.027 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1195, allocations: 4 kB / 365.8 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1196, allocations: 7.938 kB / 365.8 MB, free: 6.016 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1196, allocations: 0 / 365.8 MB, free: 6.016 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005112/0.1201, allocations: 444 kB / 366.3 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1201, allocations: 0 / 366.3 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.1202, allocations: 23.98 kB / 366.3 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1202, allocations: 0 / 366.3 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.1203, allocations: 8.25 kB / 366.3 MB, free: 5.488 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1203, allocations: 0 / 366.3 MB, free: 5.488 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1203, allocations: 3.938 kB / 366.3 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.1206, allocations: 252.9 kB / 366.6 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.1207, allocations: 89.05 kB / 366.6 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.1207, allocations: 8.062 kB / 366.6 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.221e-05/0.1208, allocations: 0 / 366.6 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.1208, allocations: 11.98 kB / 366.7 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-06/0.1208, allocations: 4 kB / 366.7 MB, free: 5.086 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.711e-05/0.1209, allocations: 95.27 kB / 366.8 MB, free: 4.992 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1209, allocations: 0 / 366.8 MB, free: 4.992 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.1212, allocations: 28 kB / 366.8 MB, free: 4.965 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.0001127/0.1213, allocations: 111.2 kB / 366.9 MB, free: 4.844 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002252/0.1215, allocations: 83.84 kB / 367 MB, free: 4.762 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1215, allocations: 0 / 367 MB, free: 4.762 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.979e-05/0.1216, allocations: 39.92 kB / 367 MB, free: 4.723 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.1219, allocations: 23.86 kB / 367 MB, free: 4.699 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007028/0.1226, allocations: 432.1 kB / 367.5 MB, free: 4.242 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.1229, allocations: 0.7119 MB / 368.2 MB, free: 3.504 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.35e-05/0.123, allocations: 12.88 kB / 368.2 MB, free: 3.488 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.371e-05/0.123, allocations: 11.44 kB / 368.2 MB, free: 3.477 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.123, allocations: 0 / 368.2 MB, free: 3.477 MB / 302.1 MB Notification: Performance of Templates: time 0.003306/0.1263, allocations: 0.8561 MB / 369 MB, free: 2.629 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches