Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.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.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001436/0.001436, allocations: 177.9 kB / 16.41 MB, free: 5.707 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.283/1.283, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0007033/0.0007032, allocations: 97.05 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002819/0.0002819, allocations: 8 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1986, allocations: 47.57 MB / 374.6 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.001992/0.2006, allocations: 1.999 MB / 376.5 MB, free: 43.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005328/0.2012, allocations: 241.8 kB / 376.8 MB, free: 43.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.2014, allocations: 8.312 kB / 376.8 MB, free: 43.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.2015, allocations: 28.11 kB / 376.8 MB, free: 43.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.2017, allocations: 69.05 kB / 376.9 MB, free: 43.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001544/0.2018, allocations: 45.58 kB / 376.9 MB, free: 43.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.2021, allocations: 268 kB / 377.2 MB, free: 43.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.2023, allocations: 72.69 kB / 377.3 MB, free: 43.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.2024, allocations: 88.72 kB / 377.4 MB, free: 43.28 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.2025, allocations: 108.5 kB / 377.5 MB, free: 43.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/0.2025, allocations: 11.44 kB / 377.5 MB, free: 43.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.829e-05/0.2026, allocations: 13.09 kB / 377.5 MB, free: 43.21 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.664e-05/0.2026, allocations: 38.53 kB / 377.5 MB, free: 43.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.755e-05/0.2027, allocations: 71.95 kB / 377.6 MB, free: 43.13 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.2028, allocations: 215.6 kB / 377.8 MB, free: 42.97 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2028, allocations: 0 / 377.8 MB, free: 42.97 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2028, allocations: 4 kB / 377.8 MB, free: 42.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.2029, allocations: 3.938 kB / 377.8 MB, free: 42.96 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0005345/0.2034, allocations: 0.5042 MB / 378.3 MB, free: 42.49 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.2034, allocations: 8.875 kB / 378.3 MB, free: 42.49 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/0.2035, allocations: 30.34 kB / 378.4 MB, free: 42.47 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.2037, allocations: 237.6 kB / 378.6 MB, free: 42.22 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.2037, allocations: 18.3 kB / 378.6 MB, free: 42.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.2038, allocations: 32.12 kB / 378.6 MB, free: 42.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/0.2041, allocations: 238.1 kB / 378.9 MB, free: 42.03 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.2041, allocations: 0.9688 kB / 378.9 MB, free: 42.03 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.2042, allocations: 14.25 kB / 378.9 MB, free: 42.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.2042, allocations: 6.312 kB / 378.9 MB, free: 42.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002431/0.2044, allocations: 163.9 kB / 379 MB, free: 41.94 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008189/0.2052, allocations: 0.7966 MB / 379.8 MB, free: 41.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004183/0.2057, allocations: 283.4 kB / 380.1 MB, free: 41.06 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.2059, allocations: 135.9 kB / 380.3 MB, free: 40.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.2059, allocations: 3.5 kB / 380.3 MB, free: 40.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.481e-05/0.2059, allocations: 41.22 kB / 380.3 MB, free: 40.94 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 1.473e-06/0.2059, allocations: 0 / 380.3 MB, free: 40.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.002042/0.208, allocations: 1.952 MB / 382.2 MB, free: 39.21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.208, allocations: 108.6 kB / 382.4 MB, free: 39.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.2082, allocations: 186.4 kB / 382.5 MB, free: 38.94 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.2082, allocations: 35.8 kB / 382.6 MB, free: 38.9 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/0.2083, allocations: 133.8 kB / 382.7 MB, free: 38.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.898e-05/0.2083, allocations: 164.7 kB / 382.9 MB, free: 38.63 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.247e-05/0.2083, allocations: 5.969 kB / 382.9 MB, free: 38.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.075e-05/0.2084, allocations: 348.8 kB / 383.2 MB, free: 38.28 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.2085, allocations: 87.91 kB / 383.3 MB, free: 38.24 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.2087, allocations: 158.8 kB / 383.4 MB, free: 38.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.2089, allocations: 122.1 kB / 383.6 MB, free: 38.06 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2089, allocations: 0 / 383.6 MB, free: 38.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004591/0.2094, allocations: 337.3 kB / 383.9 MB, free: 37.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.2094, allocations: 6.031 kB / 383.9 MB, free: 37.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.2094, allocations: 1.875 kB / 383.9 MB, free: 37.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.2094, allocations: 3.125 kB / 383.9 MB, free: 37.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/0.2097, allocations: 98.7 kB / 384 MB, free: 37.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.2097, allocations: 3.969 kB / 384 MB, free: 37.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.988e-05/0.2099, allocations: 6.875 kB / 384 MB, free: 37.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.2099, allocations: 19.06 kB / 384 MB, free: 37.86 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * 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.684e-05/0.21, allocations: 152.1 kB / 384.2 MB, free: 37.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.659e-05/0.2101, allocations: 29.09 kB / 384.2 MB, free: 37.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.973e-05/0.2101, allocations: 38.55 kB / 384.2 MB, free: 37.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.2101, allocations: 5.781 kB / 384.3 MB, free: 37.66 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.2102, allocations: 5.156 kB / 384.3 MB, free: 37.66 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.2102, allocations: 5.234 kB / 384.3 MB, free: 37.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.2112, allocations: 1.054 MB / 385.3 MB, free: 36.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.2113, allocations: 6.234 kB / 385.3 MB, free: 36.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003469/0.2116, allocations: 90.28 kB / 385.4 MB, free: 36.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.2116, allocations: 8.828 kB / 385.4 MB, free: 36.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.2117, allocations: 10.25 kB / 385.4 MB, free: 36.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.2117, allocations: 8.562 kB / 385.4 MB, free: 36.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.2117, allocations: 7.359 kB / 385.4 MB, free: 36.74 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005981/0.2123, allocations: 0.7148 MB / 386.2 MB, free: 36.19 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.2123, allocations: 110.5 kB / 386.3 MB, free: 36.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.2124, allocations: 9.844 kB / 386.3 MB, free: 36.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.2126, allocations: 12.59 kB / 386.3 MB, free: 36.06 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.381e-05/0.2126, allocations: 46.27 kB / 386.3 MB, free: 36.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.2126, allocations: 14.81 kB / 386.4 MB, free: 36.03 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.65e-05/0.2127, allocations: 130.9 kB / 386.5 MB, free: 35.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2127, allocations: 1.125 kB / 386.5 MB, free: 35.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003861/0.2131, allocations: 71.25 kB / 386.6 MB, free: 35.92 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * 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 (45): * Single equations (assignments): 45 * 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 8.793e-05/0.2132, allocations: 124 kB / 386.7 MB, free: 35.8 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003676/0.2136, allocations: 258.4 kB / 386.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2136, allocations: 0 / 386.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.2138, allocations: 139.9 kB / 387.1 MB, free: 35.62 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005982/0.2144, allocations: 60.72 kB / 387.1 MB, free: 35.56 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.2155, allocations: 1.12 MB / 388.2 MB, free: 34.37 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/0.2156, allocations: 0.7725 MB / 389 MB, free: 33.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.197e-05/0.2157, allocations: 31.44 kB / 389 MB, free: 33.54 MB / 298.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2157, allocations: 0 / 389 MB, free: 33.54 MB / 298.7 MB Notification: Performance of Templates: time 0.004297/0.22, allocations: 3.408 MB / 392.5 MB, free: 30.14 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches