Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 114.3 kB / 17.07 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 191 kB / 18 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001047, allocations: 51.91 kB / 351.3 MB, free: 3.289 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2785, allocations: 49.43 MB / 400.7 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.00337/0.282, allocations: 1.992 MB / 402.7 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008456/0.2828, allocations: 0.5025 MB / 403.2 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.747e-05/0.2829, allocations: 4 kB / 403.2 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.2831, allocations: 15.8 kB / 403.2 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.667e-05/0.2832, allocations: 35.64 kB / 403.3 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.2834, allocations: 43.94 kB / 403.3 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.2836, allocations: 147.4 kB / 403.4 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.2838, allocations: 69.5 kB / 403.5 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.2839, allocations: 71.72 kB / 403.6 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.2841, allocations: 67.7 kB / 403.6 MB, free: 6.109 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.2841, allocations: 12 kB / 403.7 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.712e-05/0.2841, allocations: 16 kB / 403.7 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.686e-05/0.2842, allocations: 35.91 kB / 403.7 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.982e-05/0.2842, allocations: 67.67 kB / 403.8 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.2845, allocations: 163.3 kB / 403.9 MB, free: 5.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2845, allocations: 7.938 kB / 403.9 MB, free: 5.812 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2845, allocations: 0 / 403.9 MB, free: 5.812 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.2845, allocations: 0 / 403.9 MB, free: 5.812 MB / 318.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.000732/0.2852, allocations: 434.8 kB / 404.4 MB, free: 5.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.2853, allocations: 16.03 kB / 404.4 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.979e-05/0.2854, allocations: 16.84 kB / 404.4 MB, free: 5.309 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.2857, allocations: 204.2 kB / 404.6 MB, free: 5.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.2857, allocations: 12.38 kB / 404.6 MB, free: 5.059 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.161e-05/0.2858, allocations: 20.33 kB / 404.6 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/0.2861, allocations: 154.9 kB / 404.8 MB, free: 4.883 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.2861, allocations: 0 / 404.8 MB, free: 4.883 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.2861, allocations: 8 kB / 404.8 MB, free: 4.875 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.2861, allocations: 4 kB / 404.8 MB, free: 4.871 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.2863, allocations: 95.69 kB / 404.9 MB, free: 4.777 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007554/0.2871, allocations: 0.5211 MB / 405.4 MB, free: 4.199 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.2873, allocations: 78.55 kB / 405.5 MB, free: 4.113 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.215e-05/0.2874, allocations: 24.86 kB / 405.5 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.2874, allocations: 16.06 kB / 405.5 MB, free: 4.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.2874, allocations: 34.55 kB / 405.6 MB, free: 4.027 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.2874, allocations: 0 / 405.6 MB, free: 4.027 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.001056/0.2885, allocations: 0.5946 MB / 406.2 MB, free: 3.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.2886, allocations: 59.34 kB / 406.2 MB, free: 3.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.2887, allocations: 129.2 kB / 406.3 MB, free: 3.137 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.2887, allocations: 25.7 kB / 406.4 MB, free: 3.105 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.799e-05/0.2888, allocations: 140.1 kB / 406.5 MB, free: 2.965 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.2888, allocations: 51.62 kB / 406.5 MB, free: 2.914 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.137e-05/0.2889, allocations: 29.7 kB / 406.6 MB, free: 2.879 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.289, allocations: 322.8 kB / 406.9 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.827e-05/0.2891, allocations: 39.91 kB / 406.9 MB, free: 2.516 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.2892, allocations: 86.8 kB / 407 MB, free: 2.406 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.2894, allocations: 139.7 kB / 407.2 MB, free: 2.246 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2894, allocations: 4 kB / 407.2 MB, free: 2.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002538/0.2897, allocations: 157.4 kB / 407.3 MB, free: 2.082 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.2897, allocations: 4 kB / 407.3 MB, free: 2.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2897, allocations: 4 kB / 407.3 MB, free: 2.074 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.2897, allocations: 4 kB / 407.3 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.2899, allocations: 43.91 kB / 407.4 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.2899, allocations: 3.938 kB / 407.4 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.672e-05/0.29, allocations: 4 kB / 407.4 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.29, allocations: 8 kB / 407.4 MB, free: 2.012 MB / 318.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.0001019/0.2901, allocations: 134 kB / 407.5 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.2902, allocations: 7.953 kB / 407.5 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.742e-05/0.2902, allocations: 12.36 kB / 407.5 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2902, allocations: 0 / 407.5 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.2902, allocations: 7.938 kB / 407.5 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2902, allocations: 0 / 407.5 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004863/0.2907, allocations: 444 kB / 408 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.2907, allocations: 0 / 408 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.2909, allocations: 31.92 kB / 408 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.2909, allocations: 0 / 408 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.2909, allocations: 4 kB / 408 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.2909, allocations: 4 kB / 408 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2909, allocations: 0 / 408 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004334/0.2914, allocations: 253.1 kB / 408.3 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.2914, allocations: 85.09 kB / 408.3 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.2915, allocations: 4 kB / 408.3 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.027e-05/0.2915, allocations: 4 kB / 408.4 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.2916, allocations: 7.984 kB / 408.4 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.2916, allocations: 8 kB / 408.4 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.332e-05/0.2917, allocations: 99.27 kB / 408.5 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2917, allocations: 4 kB / 408.5 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002496/0.2919, allocations: 24 kB / 408.5 MB, free: 0.7891 MB / 318.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.0001052/0.292, allocations: 103.7 kB / 408.6 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002271/0.2923, allocations: 103.9 kB / 408.7 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2923, allocations: 0 / 408.7 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.783e-05/0.2924, allocations: 44.3 kB / 408.7 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.2927, allocations: 11.94 kB / 408.7 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006681/0.2933, allocations: 423.1 kB / 409.2 MB, free: 76 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.2936, allocations: 0.7158 MB / 409.9 MB, free: 15.33 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.287e-05/0.2937, allocations: 8.875 kB / 409.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.2937, allocations: 11.44 kB / 409.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2937, allocations: 4 kB / 409.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of Templates: time 0.003282/0.297, allocations: 0.8681 MB / 410.8 MB, free: 14.45 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches