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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 240.9 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009661/0.0009661, allocations: 101.9 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008264/0.0008265, allocations: 43.94 kB / 350 MB, free: 84 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2313, allocations: 49.44 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002693/0.234, allocations: 2.023 MB / 401.5 MB, free: 31.35 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006317/0.2347, allocations: 0.4953 MB / 402 MB, free: 30.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.2348, allocations: 0 / 402 MB, free: 30.85 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.2349, allocations: 19.86 kB / 402 MB, free: 30.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.83e-05/0.235, allocations: 31.75 kB / 402 MB, free: 30.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.2352, allocations: 31.98 kB / 402.1 MB, free: 30.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.2354, allocations: 139.5 kB / 402.2 MB, free: 30.63 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.2355, allocations: 61.8 kB / 402.3 MB, free: 30.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.654e-05/0.2356, allocations: 59.8 kB / 402.3 MB, free: 30.51 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.749e-05/0.2357, allocations: 67.67 kB / 402.4 MB, free: 30.44 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.2358, allocations: 12 kB / 402.4 MB, free: 30.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.068e-05/0.2358, allocations: 8 kB / 402.4 MB, free: 30.42 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.697e-05/0.2358, allocations: 23.92 kB / 402.4 MB, free: 30.4 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.701e-05/0.2359, allocations: 71.67 kB / 402.5 MB, free: 30.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.236, allocations: 165 kB / 402.7 MB, free: 30.17 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2361, allocations: 0 / 402.7 MB, free: 30.17 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2361, allocations: 0 / 402.7 MB, free: 30.17 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.2361, allocations: 0 / 402.7 MB, free: 30.17 MB / 298.7 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.0005175/0.2366, allocations: 442.9 kB / 403.1 MB, free: 29.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.2366, allocations: 12.03 kB / 403.1 MB, free: 29.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.016e-05/0.2367, allocations: 16.75 kB / 403.1 MB, free: 29.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.2368, allocations: 204.1 kB / 403.3 MB, free: 29.42 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.2369, allocations: 12.38 kB / 403.3 MB, free: 29.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.2369, allocations: 12.38 kB / 403.4 MB, free: 29.4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.2371, allocations: 138.6 kB / 403.5 MB, free: 29.26 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.2372, allocations: 7.984 kB / 403.5 MB, free: 29.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.2372, allocations: 8 kB / 403.5 MB, free: 29.24 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.2372, allocations: 4 kB / 403.5 MB, free: 29.24 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.2374, allocations: 88.33 kB / 403.6 MB, free: 29.15 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005918/0.238, allocations: 0.525 MB / 404.1 MB, free: 28.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.2381, allocations: 90.47 kB / 404.2 MB, free: 28.47 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.98e-05/0.2382, allocations: 32.84 kB / 404.2 MB, free: 28.44 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.2382, allocations: 0 / 404.2 MB, free: 28.44 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.2382, allocations: 34.5 kB / 404.3 MB, free: 28.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 8.72e-07/0.2382, allocations: 0 / 404.3 MB, free: 28.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007858/0.239, allocations: 0.5945 MB / 404.9 MB, free: 27.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.2391, allocations: 59.34 kB / 404.9 MB, free: 27.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.401e-05/0.2391, allocations: 135.7 kB / 405.1 MB, free: 27.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.2391, allocations: 25.7 kB / 405.1 MB, free: 27.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.363e-05/0.2392, allocations: 135.9 kB / 405.2 MB, free: 27.33 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.2392, allocations: 47.36 kB / 405.3 MB, free: 27.28 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.2393, allocations: 29.72 kB / 405.3 MB, free: 27.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.058e-05/0.2393, allocations: 318.8 kB / 405.6 MB, free: 26.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.736e-05/0.2394, allocations: 39.94 kB / 405.6 MB, free: 26.89 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.831e-05/0.2395, allocations: 86.84 kB / 405.7 MB, free: 26.78 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.2396, allocations: 135.7 kB / 405.9 MB, free: 26.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.2396, allocations: 4 kB / 405.9 MB, free: 26.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000201/0.2398, allocations: 153.3 kB / 406 MB, free: 26.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.2399, allocations: 8 kB / 406 MB, free: 26.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2399, allocations: 0 / 406 MB, free: 26.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.2399, allocations: 4 kB / 406 MB, free: 26.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.24, allocations: 43.92 kB / 406.1 MB, free: 26.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.24, allocations: 7.938 kB / 406.1 MB, free: 26.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.645e-05/0.2401, allocations: 12.17 kB / 406.1 MB, free: 26.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.2401, allocations: 4 kB / 406.1 MB, free: 26.38 MB / 298.7 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 6.408e-05/0.2402, allocations: 133.7 kB / 406.2 MB, free: 26.24 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.616e-05/0.2402, allocations: 7.906 kB / 406.2 MB, free: 26.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/0.2403, allocations: 8.375 kB / 406.2 MB, free: 26.22 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2403, allocations: 4 kB / 406.2 MB, free: 26.22 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2403, allocations: 3.938 kB / 406.2 MB, free: 26.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2403, allocations: 3.984 kB / 406.3 MB, free: 26.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000396/0.2407, allocations: 447.9 kB / 406.7 MB, free: 25.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2407, allocations: 0 / 406.7 MB, free: 25.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.2408, allocations: 31.92 kB / 406.7 MB, free: 25.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2409, allocations: 4 kB / 406.7 MB, free: 25.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.2409, allocations: 3.984 kB / 406.7 MB, free: 25.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.2409, allocations: 3.938 kB / 406.7 MB, free: 25.67 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2409, allocations: 8.062 kB / 406.7 MB, free: 25.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008432/0.2417, allocations: 1.181 MB / 407.9 MB, free: 24.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.843e-05/0.2418, allocations: 81.02 kB / 408 MB, free: 24.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.2418, allocations: 8.125 kB / 408 MB, free: 24.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.848e-05/0.2419, allocations: 7.984 kB / 408 MB, free: 24.22 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.2419, allocations: 7.984 kB / 408 MB, free: 24.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.2419, allocations: 3.984 kB / 408 MB, free: 24.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.53e-05/0.242, allocations: 110.5 kB / 408.1 MB, free: 24.11 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.242, allocations: 0 / 408.1 MB, free: 24.11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003168/0.2423, allocations: 32 kB / 408.2 MB, free: 24.07 MB / 298.7 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.0001171/0.2424, allocations: 99.19 kB / 408.3 MB, free: 23.96 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.2426, allocations: 99.91 kB / 408.4 MB, free: 23.87 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2426, allocations: 384 / 408.4 MB, free: 23.87 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.52e-05/0.2427, allocations: 47.91 kB / 408.4 MB, free: 23.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.243, allocations: 8 kB / 408.4 MB, free: 23.81 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006632/0.2437, allocations: 0.6016 MB / 409 MB, free: 23.16 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.2438, allocations: 0.716 MB / 409.7 MB, free: 22.42 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.318e-05/0.2439, allocations: 8.875 kB / 409.7 MB, free: 22.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.2439, allocations: 15.44 kB / 409.8 MB, free: 22.4 MB / 298.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2439, allocations: 4 kB / 409.8 MB, free: 22.39 MB / 298.7 MB Notification: Performance of Templates: time 0.002784/0.2467, allocations: 0.8554 MB / 410.6 MB, free: 21.54 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches