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.001255/0.001255, allocations: 112.2 kB / 17.74 MB, free: 5.344 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.001167/0.001167, allocations: 187.1 kB / 18.67 MB, free: 4.422 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.432/1.432, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001044/0.001044, allocations: 52.06 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2976, allocations: 49.44 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003131/0.3007, allocations: 1.991 MB / 403.4 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008009/0.3016, allocations: 0.4947 MB / 403.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.306e-05/0.3017, allocations: 4 kB / 403.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.3018, allocations: 31.66 kB / 403.9 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.292e-05/0.3019, allocations: 31.7 kB / 403.9 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.3021, allocations: 39.95 kB / 404 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.3023, allocations: 147.4 kB / 404.1 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.3025, allocations: 73.52 kB / 404.2 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.3026, allocations: 67.72 kB / 404.3 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.3027, allocations: 67.7 kB / 404.3 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.3028, allocations: 12 kB / 404.3 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.655e-05/0.3028, allocations: 16 kB / 404.4 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.451e-05/0.3028, allocations: 35.89 kB / 404.4 MB, free: 5.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.431e-05/0.3029, allocations: 67.67 kB / 404.5 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.3031, allocations: 164.5 kB / 404.6 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3031, allocations: 0 / 404.6 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3031, allocations: 0 / 404.6 MB, free: 5.629 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.3031, allocations: 4 kB / 404.6 MB, free: 5.625 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.00059/0.3037, allocations: 450.9 kB / 405.1 MB, free: 5.137 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.3038, allocations: 8.031 kB / 405.1 MB, free: 5.129 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.3038, allocations: 16.75 kB / 405.1 MB, free: 5.113 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.3041, allocations: 196.1 kB / 405.3 MB, free: 4.883 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.3041, allocations: 12.38 kB / 405.3 MB, free: 4.871 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.641e-05/0.3042, allocations: 20.38 kB / 405.3 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.3044, allocations: 150.9 kB / 405.5 MB, free: 4.699 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.3045, allocations: 3.984 kB / 405.5 MB, free: 4.695 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.3045, allocations: 4 kB / 405.5 MB, free: 4.691 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3045, allocations: 4 kB / 405.5 MB, free: 4.688 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.3047, allocations: 91.7 kB / 405.6 MB, free: 4.598 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007319/0.3054, allocations: 0.5326 MB / 406.1 MB, free: 4.008 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.3056, allocations: 78.48 kB / 406.2 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.488e-05/0.3057, allocations: 28.84 kB / 406.2 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.3057, allocations: 4 kB / 406.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.3057, allocations: 30.56 kB / 406.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.3057, allocations: 0 / 406.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.000969/0.3067, allocations: 0.5985 MB / 406.8 MB, free: 3.156 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.3068, allocations: 59.34 kB / 406.9 MB, free: 3.086 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.3069, allocations: 129.7 kB / 407 MB, free: 2.949 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.3069, allocations: 33.7 kB / 407 MB, free: 2.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.472e-05/0.307, allocations: 136 kB / 407.2 MB, free: 2.773 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.307, allocations: 35.45 kB / 407.2 MB, free: 2.738 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/0.3071, allocations: 37.62 kB / 407.3 MB, free: 2.695 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.3072, allocations: 318.8 kB / 407.6 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.898e-05/0.3073, allocations: 31.98 kB / 407.6 MB, free: 2.344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.3074, allocations: 90.8 kB / 407.7 MB, free: 2.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.3076, allocations: 134.7 kB / 407.8 MB, free: 2.074 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.3076, allocations: 0 / 407.8 MB, free: 2.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002513/0.3079, allocations: 158.4 kB / 408 MB, free: 1.914 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3079, allocations: 4 kB / 408 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3079, allocations: 4 kB / 408 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.308, allocations: 4.188 kB / 408 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.3081, allocations: 39.92 kB / 408 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.3081, allocations: 4.031 kB / 408 MB, free: 1.859 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.854e-05/0.3082, allocations: 11.92 kB / 408 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.3082, allocations: 12 kB / 408 MB, free: 1.836 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 9.922e-05/0.3084, allocations: 129.7 kB / 408.2 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.3084, allocations: 7.906 kB / 408.2 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.3084, allocations: 12.38 kB / 408.2 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.3084, allocations: 4 kB / 408.2 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.3084, allocations: 7.938 kB / 408.2 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3085, allocations: 3.984 kB / 408.2 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005192/0.309, allocations: 444 kB / 408.6 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.309, allocations: 3.938 kB / 408.6 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.3091, allocations: 23.98 kB / 408.7 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.3092, allocations: 0 / 408.7 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.3092, allocations: 11.92 kB / 408.7 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3092, allocations: 4.062 kB / 408.7 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3092, allocations: 0 / 408.7 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/0.3095, allocations: 245.1 kB / 408.9 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.756e-05/0.3095, allocations: 85.05 kB / 409 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.3096, allocations: 7.984 kB / 409 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.948e-05/0.3097, allocations: 4.062 kB / 409 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.3097, allocations: 15.92 kB / 409 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.3097, allocations: 4 kB / 409 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.3098, allocations: 98.64 kB / 409.1 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3098, allocations: 0 / 409.1 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.3101, allocations: 28 kB / 409.2 MB, free: 0.6094 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.0001035/0.3102, allocations: 103.7 kB / 409.3 MB, free: 0.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002149/0.3104, allocations: 95.83 kB / 409.4 MB, free: 416 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3105, allocations: 0 / 409.4 MB, free: 416 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.028e-05/0.3105, allocations: 40.2 kB / 409.4 MB, free: 376 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.3108, allocations: 16.34 kB / 409.4 MB, free: 360 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007414/0.3116, allocations: 457.5 kB / 409.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.3119, allocations: 0.7119 MB / 410.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.983e-05/0.3119, allocations: 19.44 kB / 410.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.312, allocations: 3.938 kB / 410.6 MB, free: 15.1 MB / 334.1 MB Notification: Performance of Templates: time 0.003334/0.3153, allocations: 1.451 MB / 412 MB, free: 13.64 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/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_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches