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.001545/0.001545, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001712/0.001712, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 246.9 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 55.91 kB / 358.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2776, allocations: 50.54 MB / 409.2 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003644/0.2813, allocations: 1.994 MB / 411.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.2825, allocations: 0.5765 MB / 411.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.2827, allocations: 4 kB / 411.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001707/0.2829, allocations: 27.72 kB / 411.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.283, allocations: 31.7 kB / 411.9 MB, free: 15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.2834, allocations: 51.88 kB / 411.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.2836, allocations: 147.4 kB / 412.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.2839, allocations: 69.5 kB / 412.1 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002144/0.2841, allocations: 75.7 kB / 412.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.2842, allocations: 67.7 kB / 412.3 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.2843, allocations: 12 kB / 412.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.933e-05/0.2843, allocations: 16 kB / 412.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.85e-05/0.2844, allocations: 39.89 kB / 412.3 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.812e-05/0.2845, allocations: 79.61 kB / 412.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.2847, allocations: 160.6 kB / 412.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2847, allocations: 0 / 412.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2848, allocations: 3.938 kB / 412.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.2848, allocations: 0 / 412.6 MB, free: 14.3 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.0006629/0.2854, allocations: 447 kB / 413 MB, free: 13.81 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.2855, allocations: 12.03 kB / 413 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.2857, allocations: 28.73 kB / 413 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.286, allocations: 208.1 kB / 413.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.286, allocations: 8.375 kB / 413.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.507e-05/0.2861, allocations: 16.38 kB / 413.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.2864, allocations: 149.6 kB / 413.4 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.2864, allocations: 7.891 kB / 413.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.2864, allocations: 8 kB / 413.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.2864, allocations: 4 kB / 413.4 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.2866, allocations: 91.95 kB / 413.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008923/0.2875, allocations: 0.5211 MB / 414.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.2877, allocations: 74.56 kB / 414.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.297e-05/0.2878, allocations: 32.84 kB / 414.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.2878, allocations: 0 / 414.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.2879, allocations: 38.69 kB / 414.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.2879, allocations: 0 / 414.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.001117/0.289, allocations: 0.5876 MB / 414.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.2891, allocations: 55.34 kB / 414.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.2892, allocations: 138.2 kB / 415 MB, free: 11.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.2892, allocations: 25.7 kB / 415 MB, free: 11.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.446e-05/0.2894, allocations: 143.8 kB / 415.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.2894, allocations: 43.44 kB / 415.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.403e-05/0.2895, allocations: 33.7 kB / 415.2 MB, free: 11.35 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.2896, allocations: 322.8 kB / 415.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.213e-05/0.2897, allocations: 31.97 kB / 415.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.2898, allocations: 84.86 kB / 415.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.29, allocations: 130.7 kB / 415.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.29, allocations: 0 / 415.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002768/0.2903, allocations: 161.4 kB / 415.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.2903, allocations: 6.812 kB / 415.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.2903, allocations: 4 kB / 415.9 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.2904, allocations: 0 / 415.9 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.2905, allocations: 43.92 kB / 416 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.2905, allocations: 7.922 kB / 416 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.379e-05/0.2906, allocations: 4 kB / 416 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.2906, allocations: 12 kB / 416 MB, free: 10.5 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 0.0001044/0.2908, allocations: 129.9 kB / 416.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.2908, allocations: 15.81 kB / 416.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.15e-05/0.2909, allocations: 12.72 kB / 416.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2909, allocations: 3.984 kB / 416.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.2909, allocations: 7.938 kB / 416.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2909, allocations: 0 / 416.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005348/0.2914, allocations: 448 kB / 416.6 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.2915, allocations: 4 kB / 416.6 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.2916, allocations: 23.98 kB / 416.6 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.2916, allocations: 0 / 416.6 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.2916, allocations: 4 kB / 416.6 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2916, allocations: 0 / 416.6 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2916, allocations: 0 / 416.6 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003445/0.292, allocations: 264.9 kB / 416.9 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.297e-05/0.292, allocations: 85.05 kB / 417 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.2921, allocations: 4 kB / 417 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.974e-05/0.2922, allocations: 0 / 417 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.2922, allocations: 11.98 kB / 417 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.2922, allocations: 4 kB / 417 MB, free: 9.383 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.099e-05/0.2923, allocations: 102.6 kB / 417.1 MB, free: 9.285 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2923, allocations: 0 / 417.1 MB, free: 9.285 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000283/0.2926, allocations: 28 kB / 417.1 MB, free: 9.258 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 0.0001196/0.2927, allocations: 99.19 kB / 417.2 MB, free: 9.152 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002326/0.293, allocations: 91.83 kB / 417.3 MB, free: 9.062 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.293, allocations: 384 / 417.3 MB, free: 9.062 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.981e-05/0.2931, allocations: 43.92 kB / 417.4 MB, free: 9.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.2934, allocations: 20.09 kB / 417.4 MB, free: 9 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000743/0.2941, allocations: 423.7 kB / 417.8 MB, free: 8.555 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.2945, allocations: 0.7158 MB / 418.5 MB, free: 7.812 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.341e-05/0.2945, allocations: 12.88 kB / 418.5 MB, free: 7.797 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.642e-05/0.2946, allocations: 15.44 kB / 418.5 MB, free: 7.781 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2946, allocations: 0 / 418.5 MB, free: 7.781 MB / 334.1 MB Notification: Performance of Templates: time 0.003778/0.2984, allocations: 0.882 MB / 419.4 MB, free: 6.906 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