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.006863/0.006863, allocations: 187 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.378/3.378, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001788/0.001788, allocations: 94.88 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006988/0.0006991, allocations: 12 kB / 327 MB, free: 15.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1715, allocations: 47.58 MB / 374.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.005071/0.1766, allocations: 1.914 MB / 376.4 MB, free: 13.5 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.1779, allocations: 247.2 kB / 376.7 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000322/0.1783, allocations: 8 kB / 376.7 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.1785, allocations: 31.77 kB / 376.7 MB, free: 13.22 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005344/0.1791, allocations: 91.72 kB / 376.8 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.1795, allocations: 47.94 kB / 376.9 MB, free: 13.08 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007104/0.1802, allocations: 199.6 kB / 377.1 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003491/0.1806, allocations: 77.62 kB / 377.1 MB, free: 12.81 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.1808, allocations: 91.64 kB / 377.2 MB, free: 12.72 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/0.1812, allocations: 99.55 kB / 377.3 MB, free: 12.62 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.153e-05/0.1812, allocations: 15.94 kB / 377.3 MB, free: 12.61 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.939e-05/0.1813, allocations: 12 kB / 377.4 MB, free: 12.6 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.966e-05/0.1814, allocations: 39.84 kB / 377.4 MB, free: 12.56 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.1816, allocations: 81.52 kB / 377.5 MB, free: 12.47 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004979/0.1821, allocations: 207.6 kB / 377.7 MB, free: 12.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1821, allocations: 0 / 377.7 MB, free: 12.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1822, allocations: 0 / 377.7 MB, free: 12.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.1822, allocations: 0 / 377.7 MB, free: 12.27 MB / 282.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.00149/0.1837, allocations: 0.5068 MB / 378.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.948e-05/0.1838, allocations: 12.03 kB / 378.2 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.184, allocations: 23.72 kB / 378.2 MB, free: 11.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006382/0.1846, allocations: 239.2 kB / 378.4 MB, free: 11.4 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.905e-05/0.1847, allocations: 20.52 kB / 378.5 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.1849, allocations: 24 kB / 378.5 MB, free: 11.36 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.1859, allocations: 243.4 kB / 378.7 MB, free: 11.11 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.948e-05/0.186, allocations: 8 kB / 378.7 MB, free: 11.1 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.819e-05/0.1861, allocations: 8 kB / 378.7 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/0.1861, allocations: 8 kB / 378.8 MB, free: 11.08 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007562/0.1869, allocations: 155.9 kB / 378.9 MB, free: 10.93 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00243/0.1894, allocations: 0.801 MB / 379.7 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.1906, allocations: 287.7 kB / 380 MB, free: 9.762 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.135e-05/0.1907, allocations: 4 kB / 380 MB, free: 9.758 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.987e-05/0.1908, allocations: 34.56 kB / 380 MB, free: 9.715 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 4.829e-06/0.1908, allocations: 0 / 380 MB, free: 9.715 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.00669/0.1975, allocations: 1.962 MB / 382 MB, free: 7.492 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/0.1977, allocations: 114.7 kB / 382.1 MB, free: 7.355 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004083/0.1981, allocations: 182.6 kB / 382.3 MB, free: 7.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.216e-05/0.1982, allocations: 33.7 kB / 382.3 MB, free: 7.121 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.1985, allocations: 199.1 kB / 382.5 MB, free: 6.922 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000277/0.1988, allocations: 165.6 kB / 382.7 MB, free: 6.758 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.1988, allocations: 4 kB / 382.7 MB, free: 6.754 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002254/0.1991, allocations: 330.8 kB / 383 MB, free: 6.422 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004035/0.1995, allocations: 92.84 kB / 383.1 MB, free: 6.328 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005531/0.2001, allocations: 162.2 kB / 383.2 MB, free: 6.148 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005166/0.2006, allocations: 105.9 kB / 383.3 MB, free: 6.047 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.2006, allocations: 0 / 383.3 MB, free: 6.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001292/0.2019, allocations: 337.1 kB / 383.7 MB, free: 5.711 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.257e-05/0.202, allocations: 8 kB / 383.7 MB, free: 5.703 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.2021, allocations: 0 / 383.7 MB, free: 5.703 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.71e-05/0.2021, allocations: 4 kB / 383.7 MB, free: 5.699 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.2032, allocations: 99.83 kB / 383.8 MB, free: 5.602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.746e-05/0.2032, allocations: 4 kB / 383.8 MB, free: 5.598 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004144/0.2037, allocations: 15.94 kB / 383.8 MB, free: 5.582 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.933e-05/0.2038, allocations: 12 kB / 383.8 MB, free: 5.57 MB / 282.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 0.0003756/0.2042, allocations: 153.8 kB / 384 MB, free: 5.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/0.2044, allocations: 27.72 kB / 384 MB, free: 5.383 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.2046, allocations: 37.86 kB / 384 MB, free: 5.348 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/0.2046, allocations: 4 kB / 384 MB, free: 5.344 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.752e-05/0.2046, allocations: 4 kB / 384 MB, free: 5.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-05/0.2047, allocations: 3.984 kB / 384 MB, free: 5.336 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003635/0.2083, allocations: 1.04 MB / 385.1 MB, free: 4.211 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/0.2084, allocations: 4 kB / 385.1 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/0.2096, allocations: 91.89 kB / 385.2 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-05/0.2097, allocations: 7.953 kB / 385.2 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.485e-05/0.2098, allocations: 12.09 kB / 385.2 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.641e-05/0.2099, allocations: 11.88 kB / 385.2 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.259e-05/0.2099, allocations: 11.92 kB / 385.2 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002174/0.2121, allocations: 0.8454 MB / 386.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002057/0.2124, allocations: 104.8 kB / 386.2 MB, free: 2.992 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.775e-05/0.2125, allocations: 12.06 kB / 386.2 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005956/0.2131, allocations: 11.95 kB / 386.2 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.2132, allocations: 31.97 kB / 386.2 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.471e-05/0.2133, allocations: 19.98 kB / 386.2 MB, free: 2.918 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000266/0.2136, allocations: 128.5 kB / 386.4 MB, free: 2.793 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.2136, allocations: 0 / 386.4 MB, free: 2.793 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001135/0.2148, allocations: 72 kB / 386.4 MB, free: 2.723 MB / 282.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 0.0002983/0.2151, allocations: 131.1 kB / 386.6 MB, free: 2.586 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.2164, allocations: 259.4 kB / 386.8 MB, free: 2.336 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.2164, allocations: 4 kB / 386.8 MB, free: 2.332 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005891/0.217, allocations: 144.7 kB / 387 MB, free: 2.191 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/0.2183, allocations: 51.92 kB / 387 MB, free: 2.141 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003877/0.2223, allocations: 1.114 MB / 388.1 MB, free: 0.957 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007522/0.2231, allocations: 0.7802 MB / 388.9 MB, free: 152 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002506/0.2234, allocations: 35.38 kB / 388.9 MB, free: 116 kB / 282.7 MB Notification: Performance of SimCode: time 2.004e-06/0.2234, allocations: 4 kB / 388.9 MB, free: 112 kB / 282.7 MB Notification: Performance of Templates: time 0.3937/0.6171, allocations: 3.335 MB / 392.3 MB, free: 19.67 MB / 282.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/jenkins1/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