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.001066/0.001066, allocations: 94.14 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001467/0.001467, allocations: 200.8 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.7 MB / 247.5 MB, free: 11.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002651/0.000265, allocations: 4 kB / 308.4 MB, free: 0.7773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1039, allocations: 51.53 MB / 359.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002373/0.1063, allocations: 1.694 MB / 361.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.1075, allocations: 0.561 MB / 362.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.1077, allocations: 4 kB / 362.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.1078, allocations: 15.84 kB / 362.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.1079, allocations: 27.77 kB / 362.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.1082, allocations: 43.97 kB / 362.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.1084, allocations: 139.5 kB / 362.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.1086, allocations: 65.92 kB / 362.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.1088, allocations: 55.78 kB / 362.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.109, allocations: 63.64 kB / 362.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.109, allocations: 8 kB / 362.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.982e-05/0.1091, allocations: 8 kB / 362.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.886e-05/0.1091, allocations: 27.86 kB / 362.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.91e-05/0.1092, allocations: 93.36 kB / 362.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.1094, allocations: 127.9 kB / 362.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1094, allocations: 0 / 362.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.1094, allocations: 0 / 362.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.1094, allocations: 0 / 362.8 MB, free: 10.3 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.0005932/0.11, allocations: 407.2 kB / 363.2 MB, free: 9.859 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1101, allocations: 19.95 kB / 363.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.1103, allocations: 28.75 kB / 363.3 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.1105, allocations: 200.1 kB / 363.5 MB, free: 9.578 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.1105, allocations: 12.38 kB / 363.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.383e-05/0.1106, allocations: 24.36 kB / 363.5 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003087/0.1109, allocations: 141.7 kB / 363.6 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.1109, allocations: 3.906 kB / 363.7 MB, free: 9.395 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.1109, allocations: 12 kB / 363.7 MB, free: 9.383 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.111, allocations: 4 kB / 363.7 MB, free: 9.379 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.1112, allocations: 99.88 kB / 363.8 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009016/0.1121, allocations: 0.5327 MB / 364.3 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.1123, allocations: 82.52 kB / 364.4 MB, free: 8.602 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.592e-05/0.1124, allocations: 36.78 kB / 364.4 MB, free: 8.562 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.1124, allocations: 0 / 364.4 MB, free: 8.562 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.1124, allocations: 38.56 kB / 364.5 MB, free: 8.516 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.1124, allocations: 0 / 364.5 MB, free: 8.516 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.001081/0.1135, allocations: 0.6033 MB / 365.1 MB, free: 7.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.1136, allocations: 59.33 kB / 365.1 MB, free: 7.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.1137, allocations: 130.1 kB / 365.2 MB, free: 7.609 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.1137, allocations: 25.7 kB / 365.3 MB, free: 7.578 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.068e-05/0.1138, allocations: 131.9 kB / 365.4 MB, free: 7.445 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.1139, allocations: 39.64 kB / 365.4 MB, free: 7.406 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.756e-05/0.1139, allocations: 25.7 kB / 365.5 MB, free: 7.375 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1141, allocations: 326.8 kB / 365.8 MB, free: 7.047 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.236e-05/0.1141, allocations: 31.98 kB / 365.8 MB, free: 7.016 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.1143, allocations: 86.78 kB / 365.9 MB, free: 6.906 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.1145, allocations: 134.8 kB / 366 MB, free: 6.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.1145, allocations: 11.88 kB / 366 MB, free: 6.738 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000313/0.1148, allocations: 157.4 kB / 366.2 MB, free: 6.578 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1149, allocations: 4 kB / 366.2 MB, free: 6.574 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1149, allocations: 4 kB / 366.2 MB, free: 6.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1149, allocations: 192 / 366.2 MB, free: 6.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.1151, allocations: 43.97 kB / 366.2 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.1151, allocations: 11.88 kB / 366.3 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.421e-05/0.1152, allocations: 8 kB / 366.3 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.1152, allocations: 4 kB / 366.3 MB, free: 6.504 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.0001213/0.1153, allocations: 129.7 kB / 366.4 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.1153, allocations: 7.906 kB / 366.4 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.517e-05/0.1154, allocations: 20.7 kB / 366.4 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1154, allocations: 4 kB / 366.4 MB, free: 6.336 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.1154, allocations: 3.938 kB / 366.4 MB, free: 6.332 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1154, allocations: 0 / 366.4 MB, free: 6.332 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005951/0.116, allocations: 447.9 kB / 366.9 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.116, allocations: 4.25 kB / 366.9 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.1162, allocations: 31.92 kB / 366.9 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1162, allocations: 3.938 kB / 366.9 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1162, allocations: 4 kB / 366.9 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1162, allocations: 0 / 366.9 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1162, allocations: 0 / 366.9 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003777/0.1166, allocations: 273 kB / 367.2 MB, free: 5.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.1167, allocations: 84.92 kB / 367.3 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.1167, allocations: 4 kB / 367.3 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.01e-05/0.1168, allocations: 4 kB / 367.3 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.1168, allocations: 11.98 kB / 367.3 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.1168, allocations: 0 / 367.3 MB, free: 5.379 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.981e-05/0.1169, allocations: 106.1 kB / 367.4 MB, free: 5.277 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1169, allocations: 0 / 367.4 MB, free: 5.277 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.1172, allocations: 24 kB / 367.4 MB, free: 5.254 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.00013/0.1173, allocations: 103.2 kB / 367.5 MB, free: 5.141 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002346/0.1176, allocations: 88.22 kB / 367.6 MB, free: 5.055 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1176, allocations: 4 kB / 367.6 MB, free: 5.051 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.643e-05/0.1177, allocations: 43.92 kB / 367.6 MB, free: 5.008 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.118, allocations: 22.33 kB / 367.7 MB, free: 4.988 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008757/0.1189, allocations: 0.5521 MB / 368.2 MB, free: 4.398 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.1193, allocations: 0.716 MB / 368.9 MB, free: 3.656 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/0.1193, allocations: 15.44 kB / 368.9 MB, free: 3.641 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1193, allocations: 0 / 368.9 MB, free: 3.641 MB / 302.1 MB Notification: Performance of Templates: time 0.003577/0.1229, allocations: 1.454 MB / 370.4 MB, free: 2.188 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