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.001677/0.001677, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002139/0.002139, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 68.31 kB / 307.6 MB, free: 0.6641 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1034, allocations: 50.53 MB / 358.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003662/0.1071, allocations: 1.98 MB / 360.1 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.1083, allocations: 0.5843 MB / 360.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.1085, allocations: 4 kB / 360.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001443/0.1087, allocations: 19.8 kB / 360.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.1088, allocations: 39.64 kB / 360.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.109, allocations: 55.86 kB / 360.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.1093, allocations: 143.5 kB / 361 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.1095, allocations: 77.48 kB / 361 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.1097, allocations: 67.78 kB / 361.1 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.1098, allocations: 63.7 kB / 361.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/0.1098, allocations: 16 kB / 361.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.285e-05/0.1099, allocations: 19.98 kB / 361.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.173e-05/0.1099, allocations: 31.86 kB / 361.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.171e-05/0.11, allocations: 67.67 kB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.1103, allocations: 175.6 kB / 361.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.1103, allocations: 4 kB / 361.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1103, allocations: 3.938 kB / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.373e-06/0.1103, allocations: 4 kB / 361.5 MB, free: 10.77 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.0006535/0.111, allocations: 439 kB / 361.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.111, allocations: 15.97 kB / 361.9 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.1112, allocations: 24.75 kB / 362 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.1114, allocations: 212.1 kB / 362.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.1115, allocations: 8.375 kB / 362.2 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.1115, allocations: 16.38 kB / 362.2 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.1118, allocations: 145.7 kB / 362.3 MB, free: 9.836 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.1118, allocations: 4 kB / 362.3 MB, free: 9.832 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.1119, allocations: 4 kB / 362.3 MB, free: 9.828 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1119, allocations: 4 kB / 362.3 MB, free: 9.824 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002154/0.1121, allocations: 91.94 kB / 362.4 MB, free: 9.734 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000838/0.1129, allocations: 0.5326 MB / 363 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.1131, allocations: 78.48 kB / 363 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.079e-05/0.1132, allocations: 28.84 kB / 363.1 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.1132, allocations: 8 kB / 363.1 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.1133, allocations: 30.56 kB / 363.1 MB, free: 8.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.1133, allocations: 0 / 363.1 MB, free: 8.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.001018/0.1143, allocations: 0.5954 MB / 363.7 MB, free: 8.293 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.1143, allocations: 55.34 kB / 363.8 MB, free: 8.227 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.1145, allocations: 130.1 kB / 363.9 MB, free: 8.086 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.1145, allocations: 33.7 kB / 363.9 MB, free: 8.047 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.818e-05/0.1146, allocations: 132 kB / 364 MB, free: 7.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.1146, allocations: 35.64 kB / 364.1 MB, free: 7.875 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.03e-05/0.1147, allocations: 41.61 kB / 364.1 MB, free: 7.828 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1148, allocations: 322.8 kB / 364.4 MB, free: 7.504 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.415e-05/0.1149, allocations: 35.98 kB / 364.5 MB, free: 7.469 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.115, allocations: 86.78 kB / 364.6 MB, free: 7.359 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.1152, allocations: 126.7 kB / 364.7 MB, free: 7.211 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1152, allocations: 0 / 364.7 MB, free: 7.211 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002792/0.1155, allocations: 161.4 kB / 364.8 MB, free: 7.047 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1155, allocations: 10.97 kB / 364.8 MB, free: 7.039 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.1156, allocations: 0 / 364.8 MB, free: 7.039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.1156, allocations: 7.984 kB / 364.9 MB, free: 7.031 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.1157, allocations: 35.97 kB / 364.9 MB, free: 6.996 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.1158, allocations: 7.938 kB / 364.9 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.597e-05/0.1158, allocations: 8 kB / 364.9 MB, free: 6.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.1159, allocations: 4 kB / 364.9 MB, free: 6.977 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.841e-05/0.116, allocations: 142.9 kB / 365 MB, free: 6.828 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.116, allocations: 7.906 kB / 365.1 MB, free: 6.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.211e-05/0.1161, allocations: 12.72 kB / 365.1 MB, free: 6.809 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.1161, allocations: 4 kB / 365.1 MB, free: 6.805 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1161, allocations: 3.938 kB / 365.1 MB, free: 6.801 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1161, allocations: 0 / 365.1 MB, free: 6.801 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005959/0.1167, allocations: 447.9 kB / 365.5 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1167, allocations: 192 / 365.5 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.1168, allocations: 27.92 kB / 365.5 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.1169, allocations: 7.938 kB / 365.5 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.1169, allocations: 4 kB / 365.6 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.1169, allocations: 4 kB / 365.6 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1169, allocations: 0 / 365.6 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003342/0.1172, allocations: 257.1 kB / 365.8 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.255e-05/0.1173, allocations: 88.98 kB / 365.9 MB, free: 5.879 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.1173, allocations: 0 / 365.9 MB, free: 5.879 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.63e-05/0.1174, allocations: 11.98 kB / 365.9 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.1174, allocations: 4 kB / 365.9 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.299e-06/0.1175, allocations: 0 / 365.9 MB, free: 5.863 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.956e-05/0.1175, allocations: 109.6 kB / 366 MB, free: 5.758 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1175, allocations: 4 kB / 366 MB, free: 5.754 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002821/0.1178, allocations: 24 kB / 366 MB, free: 5.73 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.000117/0.118, allocations: 95.25 kB / 366.1 MB, free: 5.625 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002418/0.1182, allocations: 91.84 kB / 366.2 MB, free: 5.535 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1182, allocations: 384 / 366.2 MB, free: 5.535 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.194e-05/0.1183, allocations: 47.91 kB / 366.3 MB, free: 5.488 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.1187, allocations: 14.56 kB / 366.3 MB, free: 5.477 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007777/0.1195, allocations: 461.1 kB / 366.7 MB, free: 4.984 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004613/0.12, allocations: 0.7158 MB / 367.5 MB, free: 4.242 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.853e-05/0.12, allocations: 15.44 kB / 367.5 MB, free: 4.227 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.12, allocations: 0 / 367.5 MB, free: 4.227 MB / 302.1 MB Notification: Performance of Templates: time 0.003175/0.1232, allocations: 1.469 MB / 368.9 MB, free: 2.758 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/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