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.002144/0.002144, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.14/2.14, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001097/0.001096, allocations: 93.92 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.458e-05/3.473e-05, allocations: 4 kB / 321.5 MB, free: 17.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09169/0.09175, allocations: 47.57 MB / 369.1 MB, free: 2.223 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3926/0.4844, allocations: 76.08 MB / 445.2 MB, free: 1.059 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.4847, allocations: 64.52 kB / 445.2 MB, free: 1.023 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01705/0.5017, allocations: 4.155 MB / 449.4 MB, free: 13.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5018, allocations: 0 / 449.4 MB, free: 13.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.739e-05/0.5018, allocations: 8 kB / 449.4 MB, free: 13.54 MB / 330.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.0008514/0.5027, allocations: 477.8 kB / 449.9 MB, free: 13.05 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.5027, allocations: 12.03 kB / 449.9 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.415e-05/0.5028, allocations: 31.56 kB / 449.9 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.5032, allocations: 232.6 kB / 450.1 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.5032, allocations: 24.3 kB / 450.1 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.826e-05/0.5033, allocations: 23.5 kB / 450.2 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005372/0.5038, allocations: 235.7 kB / 450.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.5039, allocations: 3.906 kB / 450.4 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/0.5039, allocations: 15.75 kB / 450.4 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.5039, allocations: 4 kB / 450.4 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000451/0.5044, allocations: 156.6 kB / 450.6 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.5059, allocations: 0.8089 MB / 451.4 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007004/0.5066, allocations: 280.3 kB / 451.7 MB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003417/0.507, allocations: 132.5 kB / 451.8 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.668e-05/0.507, allocations: 12.08 kB / 451.8 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.5071, allocations: 42.42 kB / 451.8 MB, free: 11.28 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 3.136e-06/0.5071, allocations: 0 / 451.8 MB, free: 11.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=45): time 0.003607/0.5107, allocations: 1.861 MB / 453.7 MB, free: 9.375 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.314e-05/0.5108, allocations: 110.8 kB / 453.8 MB, free: 9.242 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.5111, allocations: 177 kB / 454 MB, free: 9.082 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.5111, allocations: 29.58 kB / 454 MB, free: 9.051 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.5112, allocations: 198.4 kB / 454.2 MB, free: 8.875 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.5114, allocations: 164.7 kB / 454.4 MB, free: 8.734 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.231e-05/0.5114, allocations: 7.938 kB / 454.4 MB, free: 8.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.5116, allocations: 334.4 kB / 454.7 MB, free: 8.402 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/0.5118, allocations: 83.5 kB / 454.8 MB, free: 8.352 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/0.5122, allocations: 148.7 kB / 454.9 MB, free: 8.223 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.5125, allocations: 123.8 kB / 455 MB, free: 8.141 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5125, allocations: 0 / 455 MB, free: 8.141 MB / 330.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007371/0.5132, allocations: 315 kB / 455.4 MB, free: 7.902 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.5133, allocations: 10.5 kB / 455.4 MB, free: 7.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.5133, allocations: 0 / 455.4 MB, free: 7.895 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/0.5133, allocations: 8.094 kB / 455.4 MB, free: 7.887 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006457/0.514, allocations: 91.47 kB / 455.5 MB, free: 7.801 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-05/0.514, allocations: 11.92 kB / 455.5 MB, free: 7.789 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.5142, allocations: 7.5 kB / 455.5 MB, free: 7.789 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/0.5143, allocations: 14.81 kB / 455.5 MB, free: 7.777 MB / 330.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 () * 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.0001348/0.5144, allocations: 126.5 kB / 455.6 MB, free: 7.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.5145, allocations: 27.72 kB / 455.6 MB, free: 7.633 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.5147, allocations: 38.83 kB / 455.7 MB, free: 7.617 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.178e-06/0.5147, allocations: 7.938 kB / 455.7 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.5147, allocations: 8 kB / 455.7 MB, free: 7.602 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.5147, allocations: 0 / 455.7 MB, free: 7.602 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002055/0.5168, allocations: 1.058 MB / 456.8 MB, free: 6.629 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.5168, allocations: 8.031 kB / 456.8 MB, free: 6.621 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007193/0.5176, allocations: 90.95 kB / 456.9 MB, free: 6.535 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.801e-05/0.5176, allocations: 4 kB / 456.9 MB, free: 6.531 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.421e-05/0.5176, allocations: 10.75 kB / 456.9 MB, free: 6.527 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.079e-05/0.5177, allocations: 7.938 kB / 456.9 MB, free: 6.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.5177, allocations: 4 kB / 456.9 MB, free: 6.516 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.5189, allocations: 0.8408 MB / 457.7 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.519, allocations: 100.8 kB / 457.8 MB, free: 5.566 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.106e-05/0.5191, allocations: 19.23 kB / 457.8 MB, free: 5.555 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003141/0.5194, allocations: 7.75 kB / 457.8 MB, free: 5.551 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.85e-05/0.5195, allocations: 31.09 kB / 457.9 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.5195, allocations: 12 kB / 457.9 MB, free: 5.516 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001685/0.5197, allocations: 150.4 kB / 458 MB, free: 5.387 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5197, allocations: 0 / 458 MB, free: 5.387 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006/0.5203, allocations: 70.69 kB / 458.1 MB, free: 5.328 MB / 330.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 () * 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.0001759/0.5205, allocations: 110.6 kB / 458.2 MB, free: 5.219 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000631/0.5212, allocations: 255.7 kB / 458.5 MB, free: 5.035 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.5212, allocations: 0 / 458.5 MB, free: 5.035 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003011/0.5215, allocations: 140.4 kB / 458.6 MB, free: 4.926 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006928/0.5222, allocations: 57.12 kB / 458.7 MB, free: 4.887 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.5241, allocations: 0.834 MB / 459.5 MB, free: 3.992 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004566/0.5246, allocations: 0.7725 MB / 460.3 MB, free: 3.191 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.5247, allocations: 31.44 kB / 460.3 MB, free: 3.16 MB / 330.7 MB Notification: Performance of SimCode: time 1.332e-06/0.5247, allocations: 0 / 460.3 MB, free: 3.16 MB / 330.7 MB Notification: Performance of Templates: time 0.008176/0.5329, allocations: 3.323 MB / 463.6 MB, free: 15.83 MB / 346.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