Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.205/1.205, allocations: 205.1 MB / 223.8 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000979/0.0009791, allocations: 102.1 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008132/0.0008132, allocations: 35.95 kB / 327.2 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.202, allocations: 46.63 MB / 373.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002583/0.2046, allocations: 2.025 MB / 375.8 MB, free: 44.24 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006474/0.2053, allocations: 0.5259 MB / 376.4 MB, free: 43.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.984e-05/0.2054, allocations: 7.281 kB / 376.4 MB, free: 43.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.2055, allocations: 18.22 kB / 376.4 MB, free: 43.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.131e-05/0.2056, allocations: 28.36 kB / 376.4 MB, free: 43.78 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.2058, allocations: 29.67 kB / 376.5 MB, free: 43.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.2059, allocations: 144.1 kB / 376.6 MB, free: 43.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.2061, allocations: 66.47 kB / 376.7 MB, free: 43.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.523e-05/0.2061, allocations: 60.42 kB / 376.7 MB, free: 43.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.345e-05/0.2062, allocations: 64.83 kB / 376.8 MB, free: 43.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.2063, allocations: 11 kB / 376.8 MB, free: 43.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.416e-05/0.2063, allocations: 10.91 kB / 376.8 MB, free: 43.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.548e-05/0.2063, allocations: 28.3 kB / 376.8 MB, free: 43.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.664e-05/0.2064, allocations: 65.2 kB / 376.9 MB, free: 43.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.2065, allocations: 163.9 kB / 377.1 MB, free: 43.36 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.2065, allocations: 1 kB / 377.1 MB, free: 43.36 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.2065, allocations: 4 kB / 377.1 MB, free: 43.35 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.2066, allocations: 0 / 377.1 MB, free: 43.35 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.0004894/0.2071, allocations: 441 kB / 377.5 MB, free: 42.92 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.2071, allocations: 9.438 kB / 377.5 MB, free: 42.92 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.817e-05/0.2071, allocations: 15.84 kB / 377.5 MB, free: 42.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.2073, allocations: 198.3 kB / 377.7 MB, free: 42.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.2073, allocations: 15.62 kB / 377.7 MB, free: 42.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.2073, allocations: 22.19 kB / 377.7 MB, free: 42.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.2076, allocations: 150.3 kB / 377.9 MB, free: 42.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.2076, allocations: 1.125 kB / 377.9 MB, free: 42.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.2076, allocations: 9.156 kB / 377.9 MB, free: 42.56 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.2077, allocations: 7.344 kB / 377.9 MB, free: 42.56 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.2078, allocations: 90.16 kB / 378 MB, free: 42.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006457/0.2085, allocations: 0.5325 MB / 378.5 MB, free: 42.03 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.2087, allocations: 78.34 kB / 378.6 MB, free: 41.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.463e-05/0.2087, allocations: 30.92 kB / 378.6 MB, free: 41.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.2088, allocations: 0 / 378.6 MB, free: 41.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.324e-05/0.2088, allocations: 39.61 kB / 378.7 MB, free: 41.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 9.02e-07/0.2088, allocations: 1.25 kB / 378.7 MB, free: 41.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008075/0.2096, allocations: 0.5872 MB / 379.3 MB, free: 41.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.2096, allocations: 57.66 kB / 379.3 MB, free: 41.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.948e-05/0.2097, allocations: 135.9 kB / 379.5 MB, free: 41.17 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.275e-06/0.2097, allocations: 27.11 kB / 379.5 MB, free: 41.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.92e-05/0.2098, allocations: 132.1 kB / 379.6 MB, free: 41.01 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.2098, allocations: 35.86 kB / 379.6 MB, free: 40.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/0.2099, allocations: 40.42 kB / 379.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.749e-05/0.2099, allocations: 326.2 kB / 380 MB, free: 40.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.83e-05/0.21, allocations: 33.12 kB / 380 MB, free: 40.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.871e-05/0.2101, allocations: 89.62 kB / 380.1 MB, free: 40.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.2102, allocations: 130.1 kB / 380.3 MB, free: 40.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.2102, allocations: 1.156 kB / 380.3 MB, free: 40.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002149/0.2105, allocations: 158.1 kB / 380.4 MB, free: 40.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.2105, allocations: 9.75 kB / 380.4 MB, free: 40.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2105, allocations: 2.969 kB / 380.4 MB, free: 40.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.2105, allocations: 2.812 kB / 380.4 MB, free: 40.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.2107, allocations: 32.11 kB / 380.5 MB, free: 40.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.2107, allocations: 14.23 kB / 380.5 MB, free: 40.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.493e-05/0.2107, allocations: 7.531 kB / 380.5 MB, free: 40.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.2108, allocations: 5.656 kB / 380.5 MB, free: 40.29 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.201e-05/0.2108, allocations: 134 kB / 380.6 MB, free: 40.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.2109, allocations: 8 kB / 380.6 MB, free: 40.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.272e-05/0.2109, allocations: 13.48 kB / 380.6 MB, free: 40.15 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2109, allocations: 2.156 kB / 380.6 MB, free: 40.15 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2109, allocations: 7.875 kB / 380.6 MB, free: 40.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2109, allocations: 1.094 kB / 380.6 MB, free: 40.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004046/0.2113, allocations: 448.5 kB / 381.1 MB, free: 39.72 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2113, allocations: 1.125 kB / 381.1 MB, free: 39.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.2115, allocations: 27.89 kB / 381.1 MB, free: 39.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2115, allocations: 1.062 kB / 381.1 MB, free: 39.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.527e-06/0.2115, allocations: 5.219 kB / 381.1 MB, free: 39.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2115, allocations: 2.156 kB / 381.1 MB, free: 39.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2115, allocations: 1.156 kB / 381.1 MB, free: 39.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008723/0.2124, allocations: 1.196 MB / 382.3 MB, free: 38.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/0.2124, allocations: 87.31 kB / 382.4 MB, free: 38.42 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.2124, allocations: 6.031 kB / 382.4 MB, free: 38.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.72e-05/0.2125, allocations: 6.469 kB / 382.4 MB, free: 38.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.2126, allocations: 7.953 kB / 382.4 MB, free: 38.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.2126, allocations: 2.875 kB / 382.4 MB, free: 38.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.737e-05/0.2126, allocations: 106.4 kB / 382.5 MB, free: 38.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2126, allocations: 1.406 kB / 382.5 MB, free: 38.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003299/0.213, allocations: 35.44 kB / 382.6 MB, free: 38.31 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.568e-05/0.2131, allocations: 93.72 kB / 382.7 MB, free: 38.22 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001886/0.2132, allocations: 92.39 kB / 382.7 MB, free: 38.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2133, allocations: 1.344 kB / 382.7 MB, free: 38.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.912e-05/0.2133, allocations: 40.27 kB / 382.8 MB, free: 38.17 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.2136, allocations: 17.44 kB / 382.8 MB, free: 38.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00065/0.2143, allocations: 0.613 MB / 383.4 MB, free: 37.62 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.2144, allocations: 0.7197 MB / 384.1 MB, free: 36.9 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.403e-05/0.2145, allocations: 6.422 kB / 384.1 MB, free: 36.9 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.803e-05/0.2145, allocations: 13.59 kB / 384.2 MB, free: 36.89 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2145, allocations: 0.8125 kB / 384.2 MB, free: 36.89 MB / 298.7 MB Notification: Performance of Templates: time 0.002909/0.2174, allocations: 0.8461 MB / 385 MB, free: 36.47 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches