Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001064/0.001064, allocations: 109.9 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00118/0.00118, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 63.89 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2089, allocations: 50.53 MB / 409.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003093/0.2121, allocations: 2.432 MB / 412.4 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004122/0.2125, allocations: 247.1 kB / 412.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.2126, allocations: 4 kB / 412.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.2127, allocations: 51.52 kB / 412.6 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.2129, allocations: 87.2 kB / 412.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001464/0.213, allocations: 47.94 kB / 412.8 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002723/0.2133, allocations: 290.6 kB / 413.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.2135, allocations: 101.7 kB / 413.2 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.2136, allocations: 111.6 kB / 413.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.2138, allocations: 111.5 kB / 413.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.727e-05/0.2138, allocations: 24 kB / 413.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.097e-05/0.2139, allocations: 24 kB / 413.4 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.175e-05/0.2139, allocations: 55.77 kB / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.214, allocations: 135.3 kB / 413.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.2143, allocations: 304 kB / 413.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2143, allocations: 0 / 413.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2143, allocations: 0 / 413.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.2144, allocations: 0 / 413.9 MB, free: 13.6 MB / 334.1 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.0007022/0.2151, allocations: 0.5303 MB / 414.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.2151, allocations: 12.03 kB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.208e-05/0.2152, allocations: 28.66 kB / 414.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.2154, allocations: 260.4 kB / 414.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.2155, allocations: 16.94 kB / 414.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.118e-05/0.2155, allocations: 24.38 kB / 414.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/0.2159, allocations: 240 kB / 415 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.2159, allocations: 16.03 kB / 415 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.2159, allocations: 11.94 kB / 415 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.2159, allocations: 8 kB / 415 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002497/0.2162, allocations: 151.9 kB / 415.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009634/0.2172, allocations: 0.797 MB / 416 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004627/0.2176, allocations: 291.7 kB / 416.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.2179, allocations: 130.8 kB / 416.4 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.2179, allocations: 11.94 kB / 416.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.2179, allocations: 34.56 kB / 416.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.583e-06/0.218, allocations: 3.938 kB / 416.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002479/0.2204, allocations: 1.947 MB / 418.4 MB, free: 8.641 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.2205, allocations: 114.8 kB / 418.5 MB, free: 8.504 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.2207, allocations: 183.4 kB / 418.7 MB, free: 8.312 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.2207, allocations: 37.7 kB / 418.7 MB, free: 8.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.165e-05/0.2208, allocations: 140.7 kB / 418.9 MB, free: 8.129 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.2209, allocations: 157.7 kB / 419 MB, free: 7.973 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.289e-05/0.221, allocations: 78.12 kB / 419.1 MB, free: 7.891 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.2211, allocations: 330.8 kB / 419.4 MB, free: 7.559 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.2213, allocations: 96.83 kB / 419.5 MB, free: 7.465 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.2214, allocations: 154.3 kB / 419.7 MB, free: 7.293 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003593/0.2218, allocations: 268.4 kB / 419.9 MB, free: 7.012 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.2218, allocations: 4 kB / 419.9 MB, free: 7.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004619/0.2223, allocations: 352 kB / 420.3 MB, free: 6.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2223, allocations: 8 kB / 420.3 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.2223, allocations: 3.938 kB / 420.3 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.2223, allocations: 4 kB / 420.3 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003378/0.2227, allocations: 95.84 kB / 420.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.2227, allocations: 7.984 kB / 420.4 MB, free: 6.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.2228, allocations: 4 kB / 420.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.2228, allocations: 16 kB / 420.4 MB, free: 6.523 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.223, allocations: 153.8 kB / 420.6 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.738e-05/0.2231, allocations: 31.75 kB / 420.6 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.334e-05/0.2231, allocations: 41.8 kB / 420.6 MB, free: 6.293 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.2231, allocations: 0 / 420.6 MB, free: 6.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2232, allocations: 4 kB / 420.6 MB, free: 6.289 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.748e-05/0.2232, allocations: 100.8 kB / 420.7 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.123e-05/0.2233, allocations: 8 kB / 420.7 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.2235, allocations: 11.94 kB / 420.8 MB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.2235, allocations: 23.97 kB / 420.8 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007668/0.2243, allocations: 0.5733 MB / 421.3 MB, free: 5.547 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006958/0.225, allocations: 0.7394 MB / 422.1 MB, free: 4.797 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001706/0.2252, allocations: 131.9 kB / 422.2 MB, free: 4.668 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.897e-05/0.2253, allocations: 136.2 kB / 422.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of Backend: time 2.21e-07/0.2253, allocations: 0 / 422.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007145/0.226, allocations: 259.1 kB / 422.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of SimCode: time 0.001339/0.2273, allocations: 1.26 MB / 423.9 MB, free: 2.969 MB / 334.1 MB Notification: Performance of Templates: time 0.00639/0.2338, allocations: 3.416 MB / 427.3 MB, free: 15.58 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches