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.001446/0.001446, allocations: 180.9 kB / 16.39 MB, free: 5.766 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.703/1.703, allocations: 223.2 MB / 240.3 MB, free: 10.11 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.0007642/0.0007642, allocations: 105.2 kB / 291.5 MB, free: 10.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003305, allocations: 7.938 kB / 351.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2742, allocations: 50.4 MB / 401.5 MB, free: 32.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1012/0.3754, allocations: 78.23 MB / 479.7 MB, free: 2.199 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.3758, allocations: 75.89 kB / 479.8 MB, free: 2.125 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007404/0.3832, allocations: 2.678 MB / 482.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3832, allocations: 0 / 482.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.3832, allocations: 8 kB / 482.5 MB, free: 15.45 MB / 362.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.0004941/0.3837, allocations: 415.1 kB / 482.9 MB, free: 15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3838, allocations: 11.97 kB / 482.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.3838, allocations: 15.81 kB / 482.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.384, allocations: 198.8 kB / 483.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.3841, allocations: 12 kB / 483.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.875e-05/0.3841, allocations: 19.98 kB / 483.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.3844, allocations: 137.6 kB / 483.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.3844, allocations: 0 / 483.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.3844, allocations: 4 kB / 483.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.3845, allocations: 7.953 kB / 483.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002025/0.3847, allocations: 99.69 kB / 483.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007725/0.3854, allocations: 0.529 MB / 483.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.3856, allocations: 94.38 kB / 484 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.3856, allocations: 3.984 kB / 484 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.3857, allocations: 30.56 kB / 484 MB, free: 13.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.3857, allocations: 0 / 484 MB, free: 13.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.000968/0.3866, allocations: 0.5986 MB / 484.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.3867, allocations: 55.41 kB / 484.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.3868, allocations: 124.9 kB / 484.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.3868, allocations: 29.7 kB / 484.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.143e-05/0.3869, allocations: 135.9 kB / 485 MB, free: 12.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.387, allocations: 35.45 kB / 485 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.295e-06/0.387, allocations: 4 kB / 485 MB, free: 12.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3871, allocations: 322.8 kB / 485.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.968e-05/0.3872, allocations: 31.98 kB / 485.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.3873, allocations: 97.66 kB / 485.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.453e-05/0.3874, allocations: 44.97 kB / 485.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3875, allocations: 4 kB / 485.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002654/0.3877, allocations: 169.2 kB / 485.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3877, allocations: 4 kB / 485.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.3878, allocations: 4 kB / 485.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3878, allocations: 4 kB / 485.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.3879, allocations: 32.17 kB / 485.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.388, allocations: 11.94 kB / 485.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.333e-05/0.388, allocations: 8 kB / 485.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.3881, allocations: 4 kB / 485.7 MB, free: 11.87 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.888e-05/0.3882, allocations: 133.7 kB / 485.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.3882, allocations: 7.906 kB / 485.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.127e-05/0.3882, allocations: 16.38 kB / 485.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3883, allocations: 0 / 485.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3883, allocations: 0 / 485.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3883, allocations: 4 kB / 485.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005534/0.3888, allocations: 455.9 kB / 486.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.3888, allocations: 4 kB / 486.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.389, allocations: 28.05 kB / 486.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.389, allocations: 0 / 486.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.389, allocations: 4 kB / 486.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.389, allocations: 0 / 486.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.389, allocations: 3.984 kB / 486.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/0.3894, allocations: 284.4 kB / 486.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.244e-05/0.3895, allocations: 81.02 kB / 486.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.3895, allocations: 11.95 kB / 486.7 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-05/0.3896, allocations: 7.984 kB / 486.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.3896, allocations: 4 kB / 486.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.3897, allocations: 8.047 kB / 486.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.614e-05/0.3897, allocations: 99.27 kB / 486.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3897, allocations: 0 / 486.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002706/0.39, allocations: 32 kB / 486.9 MB, free: 10.57 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001187/0.3901, allocations: 102.4 kB / 487 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000218/0.3903, allocations: 96.45 kB / 487.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/0.3904, allocations: 8.125 kB / 487.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.049e-05/0.3905, allocations: 43.86 kB / 487.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.3907, allocations: 13.62 kB / 487.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000764/0.3915, allocations: 0.5074 MB / 487.7 MB, free: 9.777 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.3918, allocations: 0.7238 MB / 488.4 MB, free: 9.027 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.758e-05/0.3918, allocations: 8.875 kB / 488.4 MB, free: 9.012 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.745e-05/0.3919, allocations: 19.44 kB / 488.4 MB, free: 8.996 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3919, allocations: 0 / 488.4 MB, free: 8.996 MB / 362.7 MB Notification: Performance of Templates: time 0.002707/0.3946, allocations: 0.7871 MB / 489.2 MB, free: 8.215 MB / 362.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/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