Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 112.2 kB / 17.75 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 189.3 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009293/0.0009294, allocations: 39.94 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2067, allocations: 49.44 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003229/0.21, allocations: 2.412 MB / 403.8 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000431/0.2105, allocations: 251.1 kB / 404.1 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.957e-05/0.2106, allocations: 4 kB / 404.1 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.2107, allocations: 43.52 kB / 404.1 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.2109, allocations: 87.27 kB / 404.2 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.211, allocations: 59.86 kB / 404.2 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002734/0.2113, allocations: 290.7 kB / 404.5 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.2115, allocations: 101.7 kB / 404.6 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.2116, allocations: 107.6 kB / 404.7 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.2118, allocations: 119.5 kB / 404.9 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.567e-05/0.2118, allocations: 20 kB / 404.9 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.426e-05/0.2119, allocations: 24 kB / 404.9 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.876e-05/0.2119, allocations: 55.77 kB / 404.9 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.2121, allocations: 127.4 kB / 405.1 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003849/0.2124, allocations: 296 kB / 405.4 MB, free: 4.879 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2125, allocations: 0 / 405.4 MB, free: 4.879 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2125, allocations: 0 / 405.4 MB, free: 4.879 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.2125, allocations: 4 kB / 405.4 MB, free: 4.875 MB / 318.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.0007342/0.2132, allocations: 0.5405 MB / 405.9 MB, free: 4.285 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.2133, allocations: 11.97 kB / 405.9 MB, free: 4.273 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.653e-05/0.2133, allocations: 28.66 kB / 405.9 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.2136, allocations: 253.1 kB / 406.2 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.2137, allocations: 20.94 kB / 406.2 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/0.2137, allocations: 28.36 kB / 406.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004389/0.2141, allocations: 244 kB / 406.5 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.2142, allocations: 192 / 406.5 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.2142, allocations: 11.94 kB / 406.5 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.2142, allocations: 8 kB / 406.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002904/0.2145, allocations: 163.8 kB / 406.7 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.2156, allocations: 0.8047 MB / 407.5 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004707/0.2161, allocations: 290.5 kB / 407.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.2163, allocations: 126.7 kB / 407.9 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.2163, allocations: 7.938 kB / 407.9 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.2164, allocations: 42.55 kB / 407.9 MB, free: 2.117 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 1.593e-06/0.2164, allocations: 4 kB / 407.9 MB, free: 2.113 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.002605/0.219, allocations: 1.944 MB / 409.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.2191, allocations: 106.8 kB / 410 MB, free: 15.78 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.2192, allocations: 191.8 kB / 410.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.2193, allocations: 29.8 kB / 410.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.814e-05/0.2194, allocations: 144.6 kB / 410.3 MB, free: 15.4 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.2195, allocations: 161.6 kB / 410.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.236e-05/0.2196, allocations: 78.05 kB / 410.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.2197, allocations: 338.8 kB / 410.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.2198, allocations: 92.83 kB / 411 MB, free: 14.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.22, allocations: 158.3 kB / 411.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003637/0.2204, allocations: 264.9 kB / 411.4 MB, free: 14.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2204, allocations: 4 kB / 411.4 MB, free: 14.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005413/0.221, allocations: 349.2 kB / 411.7 MB, free: 13.92 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.221, allocations: 4 kB / 411.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.221, allocations: 3.938 kB / 411.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.221, allocations: 8.094 kB / 411.8 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003312/0.2214, allocations: 95.89 kB / 411.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.2214, allocations: 4 kB / 411.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.2215, allocations: 11.94 kB / 411.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.2215, allocations: 12 kB / 411.9 MB, free: 13.78 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.0001784/0.2217, allocations: 154.4 kB / 412 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.853e-05/0.2218, allocations: 27.62 kB / 412.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.373e-05/0.2219, allocations: 41.8 kB / 412.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.2219, allocations: 7.984 kB / 412.1 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2219, allocations: 4 kB / 412.1 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.365e-05/0.222, allocations: 96.83 kB / 412.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.222, allocations: 12 kB / 412.2 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.2223, allocations: 4 kB / 412.2 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.2223, allocations: 23.97 kB / 412.2 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007777/0.2231, allocations: 0.5765 MB / 412.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007839/0.2239, allocations: 0.7464 MB / 413.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000166/0.2241, allocations: 129.6 kB / 413.7 MB, free: 11.92 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001022/0.2242, allocations: 140.2 kB / 413.8 MB, free: 11.79 MB / 334.1 MB Notification: Performance of Backend: time 3.41e-07/0.2242, allocations: 3.938 kB / 413.8 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007354/0.2249, allocations: 254.1 kB / 414.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of SimCode: time 0.001446/0.2264, allocations: 1.253 MB / 415.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of Templates: time 0.006519/0.2329, allocations: 3.422 MB / 418.8 MB, free: 6.828 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches