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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001277/0.001277, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001179/0.001179, allocations: 107.3 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001039/0.001039, allocations: 43.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1972, allocations: 50.45 MB / 407 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.0025/0.1998, allocations: 2.039 MB / 409.1 MB, free: 25.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006823/0.2005, allocations: 0.5391 MB / 409.6 MB, free: 25.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.112e-05/0.2006, allocations: 7.938 kB / 409.6 MB, free: 25.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.2007, allocations: 15.91 kB / 409.6 MB, free: 25.19 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.078e-05/0.2007, allocations: 31.77 kB / 409.7 MB, free: 25.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.2009, allocations: 31.98 kB / 409.7 MB, free: 25.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.2011, allocations: 142.8 kB / 409.9 MB, free: 24.99 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.2012, allocations: 65.86 kB / 409.9 MB, free: 24.92 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.2014, allocations: 67.77 kB / 410 MB, free: 24.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.058e-05/0.2015, allocations: 63.7 kB / 410 MB, free: 24.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.2015, allocations: 12 kB / 410.1 MB, free: 24.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.996e-05/0.2015, allocations: 16 kB / 410.1 MB, free: 24.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.15e-05/0.2016, allocations: 23.92 kB / 410.1 MB, free: 24.74 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.671e-05/0.2016, allocations: 79.58 kB / 410.2 MB, free: 24.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.2018, allocations: 157 kB / 410.3 MB, free: 24.51 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2018, allocations: 0 / 410.3 MB, free: 24.51 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2018, allocations: 0 / 410.3 MB, free: 24.51 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.2018, allocations: 4 kB / 410.3 MB, free: 24.51 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.0004585/0.2023, allocations: 443 kB / 410.8 MB, free: 24.03 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.2023, allocations: 11.97 kB / 410.8 MB, free: 24.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.2025, allocations: 28.73 kB / 410.8 MB, free: 23.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.2026, allocations: 192.2 kB / 411 MB, free: 23.76 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.2026, allocations: 20.36 kB / 411 MB, free: 23.74 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.2027, allocations: 16.31 kB / 411 MB, free: 23.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002336/0.2029, allocations: 142.3 kB / 411.2 MB, free: 23.58 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.2029, allocations: 7.906 kB / 411.2 MB, free: 23.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.2029, allocations: 8 kB / 411.2 MB, free: 23.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.203, allocations: 4 kB / 411.2 MB, free: 23.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.2031, allocations: 91.69 kB / 411.3 MB, free: 23.47 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000605/0.2037, allocations: 0.5328 MB / 411.8 MB, free: 22.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.2039, allocations: 78.53 kB / 411.9 MB, free: 22.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.834e-05/0.2039, allocations: 40.97 kB / 411.9 MB, free: 22.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.204, allocations: 0 / 411.9 MB, free: 22.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.167e-05/0.204, allocations: 34.56 kB / 412 MB, free: 22.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 9.61e-07/0.204, allocations: 0 / 412 MB, free: 22.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007321/0.2047, allocations: 0.5836 MB / 412.5 MB, free: 22.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.84e-05/0.2048, allocations: 63.33 kB / 412.6 MB, free: 21.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.659e-05/0.2049, allocations: 132.6 kB / 412.7 MB, free: 21.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.796e-06/0.2049, allocations: 29.7 kB / 412.8 MB, free: 21.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.004e-05/0.2049, allocations: 139.8 kB / 412.9 MB, free: 21.65 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.205, allocations: 35.64 kB / 412.9 MB, free: 21.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.205, allocations: 37.7 kB / 413 MB, free: 21.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.77e-05/0.205, allocations: 322.8 kB / 413.3 MB, free: 21.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.142e-05/0.2051, allocations: 31.98 kB / 413.3 MB, free: 21.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.919e-05/0.2052, allocations: 89.25 kB / 413.4 MB, free: 21.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.2054, allocations: 130.7 kB / 413.5 MB, free: 20.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2054, allocations: 0 / 413.5 MB, free: 20.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002078/0.2056, allocations: 153.4 kB / 413.7 MB, free: 20.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.2056, allocations: 8 kB / 413.7 MB, free: 20.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2056, allocations: 4.188 kB / 413.7 MB, free: 20.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.2056, allocations: 4 kB / 413.7 MB, free: 20.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.2058, allocations: 39.91 kB / 413.7 MB, free: 20.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.2058, allocations: 7.938 kB / 413.7 MB, free: 20.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.521e-05/0.2059, allocations: 8 kB / 413.7 MB, free: 20.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.2059, allocations: 4 kB / 413.8 MB, free: 20.72 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 5.964e-05/0.2059, allocations: 131.2 kB / 413.9 MB, free: 20.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.206, allocations: 7.906 kB / 413.9 MB, free: 20.58 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.318e-05/0.206, allocations: 20.36 kB / 413.9 MB, free: 20.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.206, allocations: 4 kB / 413.9 MB, free: 20.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.206, allocations: 3.938 kB / 413.9 MB, free: 20.54 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.206, allocations: 3.938 kB / 413.9 MB, free: 20.54 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000383/0.2064, allocations: 447.9 kB / 414.4 MB, free: 20.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2064, allocations: 192 / 414.4 MB, free: 20.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.2066, allocations: 28.05 kB / 414.4 MB, free: 20.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2066, allocations: 7.938 kB / 414.4 MB, free: 20 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.2066, allocations: 4 kB / 414.4 MB, free: 20 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2066, allocations: 0 / 414.4 MB, free: 20 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2066, allocations: 4 kB / 414.4 MB, free: 20 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008164/0.2074, allocations: 1.193 MB / 415.6 MB, free: 18.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.945e-05/0.2075, allocations: 81.02 kB / 415.7 MB, free: 18.56 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.2075, allocations: 4 kB / 415.7 MB, free: 18.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.797e-05/0.2076, allocations: 16.03 kB / 415.7 MB, free: 18.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.2076, allocations: 7.984 kB / 415.7 MB, free: 18.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.2076, allocations: 4 kB / 415.7 MB, free: 18.53 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.325e-05/0.2077, allocations: 103.2 kB / 415.8 MB, free: 18.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2077, allocations: 0 / 415.8 MB, free: 18.43 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003178/0.208, allocations: 32 kB / 415.8 MB, free: 18.4 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 7.74e-05/0.2081, allocations: 99.19 kB / 415.9 MB, free: 18.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001778/0.2082, allocations: 91.89 kB / 416 MB, free: 18.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.2083, allocations: 0 / 416 MB, free: 18.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.158e-05/0.2083, allocations: 35.92 kB / 416.1 MB, free: 18.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.2087, allocations: 19.94 kB / 416.1 MB, free: 18.14 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006467/0.2093, allocations: 0.6075 MB / 416.7 MB, free: 17.49 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.2094, allocations: 0.7121 MB / 417.4 MB, free: 16.75 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.669e-05/0.2095, allocations: 16.86 kB / 417.4 MB, free: 16.74 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.2095, allocations: 19.38 kB / 417.4 MB, free: 16.72 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2095, allocations: 0 / 417.4 MB, free: 16.72 MB / 298.7 MB Notification: Performance of Templates: time 0.002523/0.2121, allocations: 0.8521 MB / 418.3 MB, free: 15.88 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches