Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Damper.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.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_trunk_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_trunk_cpp_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0015/0.0015, allocations: 195.5 kB / 18.07 MB, free: 3.758 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.723/1.723, allocations: 226.5 MB / 245.4 MB, free: 6.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009352/0.0009351, allocations: 99.39 kB / 297.4 MB, free: 6.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003536, allocations: 8 kB / 357.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4942/0.4945, allocations: 51.29 MB / 408.7 MB, free: 27.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1893/0.6839, allocations: 78.1 MB / 486.8 MB, free: 13.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003553/0.6844, allocations: 67.91 kB / 486.8 MB, free: 13.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0227/0.7071, allocations: 4.278 MB / 491.1 MB, free: 9.141 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.979e-06/0.7072, allocations: 0 / 491.1 MB, free: 9.141 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.899e-05/0.7073, allocations: 8 kB / 491.1 MB, free: 9.133 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001593/0.7089, allocations: 0.4916 MB / 491.6 MB, free: 8.586 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.039e-05/0.709, allocations: 8.469 kB / 491.6 MB, free: 8.578 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.7092, allocations: 36.5 kB / 491.6 MB, free: 8.543 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005033/0.7097, allocations: 232.6 kB / 491.9 MB, free: 8.273 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.344e-05/0.7098, allocations: 16.94 kB / 491.9 MB, free: 8.258 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.7099, allocations: 40.2 kB / 491.9 MB, free: 8.219 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007336/0.7106, allocations: 240 kB / 492.2 MB, free: 7.973 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.115e-05/0.7107, allocations: 4.172 kB / 492.2 MB, free: 7.969 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.051e-05/0.7108, allocations: 15.94 kB / 492.2 MB, free: 7.953 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.7108, allocations: 4 kB / 492.2 MB, free: 7.949 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000575/0.7114, allocations: 155.8 kB / 492.3 MB, free: 7.797 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/0.7137, allocations: 0.8125 MB / 493.1 MB, free: 6.926 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009401/0.7147, allocations: 287.6 kB / 493.4 MB, free: 6.617 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004568/0.7152, allocations: 134.7 kB / 493.6 MB, free: 6.477 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.252e-05/0.7153, allocations: 7.938 kB / 493.6 MB, free: 6.469 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.16e-05/0.7153, allocations: 38.72 kB / 493.6 MB, free: 6.422 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 7.334e-06/0.7154, allocations: 0 / 493.6 MB, free: 6.422 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.005286/0.7207, allocations: 1.954 MB / 495.6 MB, free: 4.211 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.7208, allocations: 107.2 kB / 495.7 MB, free: 4.082 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003496/0.7212, allocations: 190.9 kB / 495.8 MB, free: 3.879 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.637e-05/0.7213, allocations: 37.7 kB / 495.9 MB, free: 3.836 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.7215, allocations: 132.8 kB / 496 MB, free: 3.703 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/0.7217, allocations: 165.5 kB / 496.2 MB, free: 3.539 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.7217, allocations: 8 kB / 496.2 MB, free: 3.531 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.722, allocations: 338.8 kB / 496.5 MB, free: 3.191 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/0.7223, allocations: 92.83 kB / 496.6 MB, free: 3.102 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003449/0.7226, allocations: 154.3 kB / 496.8 MB, free: 2.926 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006689/0.7233, allocations: 278.7 kB / 497 MB, free: 2.637 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.7233, allocations: 0 / 497 MB, free: 2.637 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000986/0.7243, allocations: 339.1 kB / 497.4 MB, free: 2.305 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.268e-05/0.7244, allocations: 7.938 kB / 497.4 MB, free: 2.297 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/0.7244, allocations: 4 kB / 497.4 MB, free: 2.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.314e-05/0.7245, allocations: 4 kB / 497.4 MB, free: 2.289 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006774/0.7252, allocations: 95.89 kB / 497.5 MB, free: 2.195 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-05/0.7252, allocations: 4 kB / 497.5 MB, free: 2.191 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002793/0.7255, allocations: 16.09 kB / 497.5 MB, free: 2.176 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.846e-05/0.7256, allocations: 16 kB / 497.5 MB, free: 2.16 MB / 362.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.0003488/0.7259, allocations: 149.7 kB / 497.6 MB, free: 2.004 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/0.7262, allocations: 31.66 kB / 497.7 MB, free: 1.973 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001724/0.7263, allocations: 37.86 kB / 497.7 MB, free: 1.934 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/0.7264, allocations: 4 kB / 497.7 MB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.882e-05/0.7264, allocations: 0 / 497.7 MB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/0.7264, allocations: 7.984 kB / 497.7 MB, free: 1.922 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003012/0.7295, allocations: 1.062 MB / 498.8 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.787e-05/0.7295, allocations: 0 / 498.8 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007451/0.7303, allocations: 83.91 kB / 498.9 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.103e-05/0.7304, allocations: 8.219 kB / 498.9 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.25e-05/0.7305, allocations: 19.98 kB / 498.9 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.243e-05/0.7305, allocations: 8 kB / 498.9 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.048e-05/0.7305, allocations: 3.938 kB / 498.9 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.7321, allocations: 0.7094 MB / 499.6 MB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002319/0.7323, allocations: 104.8 kB / 499.7 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.37e-05/0.7324, allocations: 20 kB / 499.7 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004237/0.7329, allocations: 12 kB / 499.8 MB, free: 15.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.687e-05/0.733, allocations: 23.97 kB / 499.8 MB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.109e-05/0.733, allocations: 19.98 kB / 499.8 MB, free: 15.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000207/0.7332, allocations: 136.5 kB / 499.9 MB, free: 15.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.235e-06/0.7333, allocations: 3.938 kB / 499.9 MB, free: 15.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008621/0.7341, allocations: 79.94 kB / 0.4883 GB, free: 15.48 MB / 378.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,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.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.0002901/0.7344, allocations: 123.1 kB / 0.4884 GB, free: 15.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007563/0.7352, allocations: 253.4 kB / 0.4887 GB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.7352, allocations: 0 / 0.4887 GB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003285/0.7356, allocations: 143.7 kB / 0.4888 GB, free: 14.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/0.7372, allocations: 63.81 kB / 0.4889 GB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002984/0.7402, allocations: 1.125 MB / 0.4899 GB, free: 13.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006986/0.741, allocations: 0.7724 MB / 0.4907 GB, free: 12.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.7412, allocations: 27.44 kB / 0.4907 GB, free: 12.89 MB / 378.7 MB Notification: Performance of SimCode: time 2.154e-06/0.7412, allocations: 0 / 0.4907 GB, free: 12.89 MB / 378.7 MB Notification: Performance of Templates: time 0.0116/0.7528, allocations: 3.385 MB / 0.494 GB, free: 9.523 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Damper --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","../files/Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches