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.0008156/0.0008156, allocations: 91.12 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009896/0.0009895, allocations: 203.8 kB / 18.28 MB, free: 5.477 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.8 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002529/0.000253, allocations: 4 kB / 307.7 MB, free: 0.8125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0961/0.09637, allocations: 51.52 MB / 359.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002191/0.0986, allocations: 1.69 MB / 360.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.09965, allocations: 0.561 MB / 361.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.09978, allocations: 7.938 kB / 361.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.444e-05/0.09988, allocations: 11.91 kB / 361.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.794e-05/0.09999, allocations: 31.77 kB / 361.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.1002, allocations: 47.89 kB / 361.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.1004, allocations: 143.5 kB / 361.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.1006, allocations: 57.95 kB / 361.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.1007, allocations: 55.77 kB / 361.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.1009, allocations: 63.7 kB / 361.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.1009, allocations: 7.938 kB / 361.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.02e-05/0.101, allocations: 16 kB / 361.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.862e-05/0.101, allocations: 27.84 kB / 362 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.082e-05/0.1011, allocations: 85.38 kB / 362.1 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.1013, allocations: 163.6 kB / 362.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1013, allocations: 0 / 362.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1013, allocations: 0 / 362.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1013, allocations: 0 / 362.2 MB, free: 10.31 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.000513/0.1019, allocations: 423.1 kB / 362.6 MB, free: 9.852 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.1019, allocations: 12.03 kB / 362.6 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.1021, allocations: 28.73 kB / 362.7 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.1022, allocations: 204.1 kB / 362.9 MB, free: 9.574 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.1023, allocations: 8.375 kB / 362.9 MB, free: 9.566 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/0.1023, allocations: 16.38 kB / 362.9 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/0.1026, allocations: 149.7 kB / 363 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.1026, allocations: 11.89 kB / 363 MB, free: 9.387 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.1026, allocations: 8 kB / 363.1 MB, free: 9.379 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1026, allocations: 4 kB / 363.1 MB, free: 9.375 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001957/0.1028, allocations: 87.95 kB / 363.1 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008386/0.1037, allocations: 0.5365 MB / 363.7 MB, free: 8.695 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.1039, allocations: 78.48 kB / 363.8 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.099e-05/0.1039, allocations: 36.84 kB / 363.8 MB, free: 8.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.104, allocations: 7.938 kB / 363.8 MB, free: 8.562 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.104, allocations: 30.56 kB / 363.8 MB, free: 8.523 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.104, allocations: 0 / 363.8 MB, free: 8.523 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.001186/0.1052, allocations: 0.6107 MB / 364.4 MB, free: 7.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.1053, allocations: 55.34 kB / 364.5 MB, free: 7.754 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.1054, allocations: 128.6 kB / 364.6 MB, free: 7.617 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.1055, allocations: 29.7 kB / 364.7 MB, free: 7.582 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.1056, allocations: 135.9 kB / 364.8 MB, free: 7.445 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.277e-05/0.1056, allocations: 47.44 kB / 364.8 MB, free: 7.398 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.1057, allocations: 21.72 kB / 364.9 MB, free: 7.371 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1059, allocations: 318.8 kB / 365.2 MB, free: 7.051 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.962e-05/0.106, allocations: 31.98 kB / 365.2 MB, free: 7.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.1061, allocations: 91.53 kB / 365.3 MB, free: 6.906 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.1063, allocations: 138.7 kB / 365.4 MB, free: 6.746 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1063, allocations: 0 / 365.4 MB, free: 6.746 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002786/0.1066, allocations: 157.3 kB / 365.6 MB, free: 6.586 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1066, allocations: 8 kB / 365.6 MB, free: 6.578 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1067, allocations: 4.188 kB / 365.6 MB, free: 6.574 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1067, allocations: 4 kB / 365.6 MB, free: 6.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.1068, allocations: 39.92 kB / 365.6 MB, free: 6.531 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.1068, allocations: 7.938 kB / 365.6 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.522e-05/0.1069, allocations: 7.984 kB / 365.6 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.1069, allocations: 8.562 kB / 365.7 MB, free: 6.508 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.916e-05/0.1071, allocations: 133.7 kB / 365.8 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.1071, allocations: 7.906 kB / 365.8 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.804e-05/0.1071, allocations: 20.72 kB / 365.8 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1071, allocations: 0 / 365.8 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.1072, allocations: 3.938 kB / 365.8 MB, free: 6.336 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1072, allocations: 7.922 kB / 365.8 MB, free: 6.328 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005222/0.1077, allocations: 448 kB / 366.3 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1077, allocations: 3.984 kB / 366.3 MB, free: 5.824 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.1078, allocations: 23.94 kB / 366.3 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1079, allocations: 3.984 kB / 366.3 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.1079, allocations: 4 kB / 366.3 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1079, allocations: 0 / 366.3 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1079, allocations: 0 / 366.3 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.1082, allocations: 257.1 kB / 366.5 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.383e-05/0.1083, allocations: 96.94 kB / 366.6 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.1083, allocations: 0 / 366.6 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-05/0.1084, allocations: 4 kB / 366.6 MB, free: 5.402 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.1084, allocations: 19.98 kB / 366.7 MB, free: 5.383 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.1084, allocations: 4 kB / 366.7 MB, free: 5.379 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.244e-05/0.1085, allocations: 95.27 kB / 366.8 MB, free: 5.285 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1085, allocations: 0 / 366.8 MB, free: 5.285 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.1088, allocations: 24 kB / 366.8 MB, free: 5.262 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.0001061/0.1089, allocations: 99.25 kB / 366.9 MB, free: 5.152 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002471/0.1092, allocations: 95.95 kB / 367 MB, free: 5.059 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1092, allocations: 4 kB / 367 MB, free: 5.055 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.951e-05/0.1093, allocations: 39.92 kB / 367 MB, free: 5.016 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.1096, allocations: 11.94 kB / 367 MB, free: 5.004 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007772/0.1104, allocations: 0.5273 MB / 367.6 MB, free: 4.445 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.1107, allocations: 0.7121 MB / 368.3 MB, free: 3.707 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.168e-05/0.1107, allocations: 20.8 kB / 368.3 MB, free: 3.684 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.45e-05/0.1108, allocations: 15.91 kB / 368.3 MB, free: 3.668 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1108, allocations: 0 / 368.3 MB, free: 3.668 MB / 302.1 MB Notification: Performance of Templates: time 0.003103/0.1139, allocations: 0.7999 MB / 369.1 MB, free: 2.879 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