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.001248/0.001248, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001295/0.001295, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 63.89 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2912, allocations: 50.54 MB / 409.2 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002938/0.2941, allocations: 1.993 MB / 411.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008766/0.295, allocations: 0.5765 MB / 411.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.035e-05/0.2951, allocations: 0 / 411.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.912e-05/0.2952, allocations: 23.73 kB / 411.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.125e-05/0.2953, allocations: 31.7 kB / 411.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.2955, allocations: 51.88 kB / 411.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.2957, allocations: 151.4 kB / 412.1 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.2959, allocations: 73.5 kB / 412.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.296, allocations: 67.72 kB / 412.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.2961, allocations: 71.69 kB / 412.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.2962, allocations: 12 kB / 412.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.9e-05/0.2962, allocations: 24 kB / 412.3 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.949e-05/0.2963, allocations: 31.91 kB / 412.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.071e-05/0.2963, allocations: 75.61 kB / 412.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.2965, allocations: 172.6 kB / 412.6 MB, free: 14.24 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2965, allocations: 0 / 412.6 MB, free: 14.24 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2965, allocations: 0 / 412.6 MB, free: 14.24 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.2966, allocations: 0 / 412.6 MB, free: 14.24 MB / 334.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.0005207/0.2971, allocations: 450.9 kB / 413 MB, free: 13.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.2971, allocations: 12.03 kB / 413 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.2973, allocations: 20.75 kB / 413 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.2975, allocations: 212.1 kB / 413.3 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.2975, allocations: 12.38 kB / 413.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.2975, allocations: 16.38 kB / 413.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.2978, allocations: 141.7 kB / 413.4 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.2978, allocations: 7.844 kB / 413.4 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.2978, allocations: 8 kB / 413.4 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2978, allocations: 4 kB / 413.4 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.298, allocations: 87.94 kB / 413.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006751/0.2987, allocations: 0.5289 MB / 414.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.2989, allocations: 78.48 kB / 414.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.33e-05/0.2989, allocations: 28.84 kB / 414.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.299, allocations: 4 kB / 414.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.299, allocations: 34.56 kB / 414.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.299, allocations: 0 / 414.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008766/0.2999, allocations: 0.5877 MB / 414.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.2999, allocations: 59.34 kB / 414.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.597e-05/0.3, allocations: 130 kB / 415 MB, free: 11.55 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.3, allocations: 37.64 kB / 415 MB, free: 11.51 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.443e-05/0.3001, allocations: 131.9 kB / 415.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.3001, allocations: 39.44 kB / 415.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.858e-05/0.3002, allocations: 37.7 kB / 415.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.754e-05/0.3003, allocations: 319 kB / 415.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.954e-05/0.3004, allocations: 35.98 kB / 415.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.3005, allocations: 89.02 kB / 415.6 MB, free: 10.83 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.3007, allocations: 134.7 kB / 415.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3007, allocations: 4 kB / 415.8 MB, free: 10.67 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002495/0.3009, allocations: 157.5 kB / 415.9 MB, free: 10.51 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.301, allocations: 8 kB / 415.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.301, allocations: 0 / 415.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.301, allocations: 4 kB / 415.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.3011, allocations: 35.92 kB / 416 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3011, allocations: 7.938 kB / 416 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.133e-05/0.3012, allocations: 8 kB / 416 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.3012, allocations: 4 kB / 416 MB, free: 10.45 MB / 334.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 8.162e-05/0.3013, allocations: 137.8 kB / 416.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.3014, allocations: 11.81 kB / 416.1 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.597e-05/0.3014, allocations: 12.72 kB / 416.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3014, allocations: 4 kB / 416.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.3014, allocations: 3.938 kB / 416.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3014, allocations: 0 / 416.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004851/0.3019, allocations: 440 kB / 416.6 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3019, allocations: 4.062 kB / 416.6 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.3021, allocations: 23.98 kB / 416.6 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.3021, allocations: 8.125 kB / 416.6 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.3021, allocations: 4 kB / 416.6 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.3021, allocations: 3.938 kB / 416.6 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3021, allocations: 7.984 kB / 416.6 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.3024, allocations: 253 kB / 416.9 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.467e-05/0.3025, allocations: 81.02 kB / 417 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.3025, allocations: 4 kB / 417 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.194e-05/0.3026, allocations: 7.984 kB / 417 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.68e-05/0.3026, allocations: 7.938 kB / 417 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.3026, allocations: 4 kB / 417 MB, free: 9.332 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.444e-05/0.3027, allocations: 103.2 kB / 417.1 MB, free: 9.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3027, allocations: 0 / 417.1 MB, free: 9.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000274/0.303, allocations: 32.06 kB / 417.1 MB, free: 9.199 MB / 334.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 8.644e-05/0.3031, allocations: 95.25 kB / 417.2 MB, free: 9.098 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.3033, allocations: 87.84 kB / 417.3 MB, free: 9.012 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3033, allocations: 0 / 417.3 MB, free: 9.012 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.58e-05/0.3034, allocations: 44.34 kB / 417.3 MB, free: 8.969 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.3036, allocations: 26.19 kB / 417.4 MB, free: 8.949 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006676/0.3043, allocations: 423.1 kB / 417.8 MB, free: 8.508 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.3046, allocations: 0.7196 MB / 418.5 MB, free: 7.762 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.725e-05/0.3046, allocations: 12.81 kB / 418.5 MB, free: 7.746 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.3047, allocations: 11.44 kB / 418.5 MB, free: 7.734 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3047, allocations: 4 kB / 418.5 MB, free: 7.73 MB / 334.1 MB Notification: Performance of Templates: time 0.002874/0.3075, allocations: 0.8861 MB / 419.4 MB, free: 6.848 MB / 334.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