Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00187/0.00187, allocations: 112.3 kB / 21.18 MB, free: 0.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002207/0.002207, allocations: 215 kB / 24.48 MB, free: 4.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.437/1.437, allocations: 230.4 MB / 258.1 MB, free: 8.133 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 67.78 kB / 378.7 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2137, allocations: 53.33 MB / 432 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003996/0.2176, allocations: 2.447 MB / 434.5 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006073/0.2183, allocations: 247.1 kB / 434.7 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.2184, allocations: 11.88 kB / 434.7 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.2186, allocations: 39.58 kB / 434.8 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.2188, allocations: 87.27 kB / 434.9 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.219, allocations: 55.92 kB / 434.9 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000357/0.2193, allocations: 294.6 kB / 435.2 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.2195, allocations: 65.7 kB / 435.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.2196, allocations: 111.6 kB / 435.4 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.2198, allocations: 119.5 kB / 435.5 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.302e-05/0.2199, allocations: 24 kB / 435.5 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.303e-05/0.2199, allocations: 24 kB / 435.6 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.979e-05/0.22, allocations: 59.75 kB / 435.6 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.2201, allocations: 127.4 kB / 435.7 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003574/0.2205, allocations: 296.7 kB / 436 MB, free: 3.406 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.2205, allocations: 4 kB / 436 MB, free: 3.402 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.2205, allocations: 0 / 436 MB, free: 3.402 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.2205, allocations: 0 / 436 MB, free: 3.402 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.0008574/0.2213, allocations: 0.5417 MB / 436.6 MB, free: 2.809 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.2214, allocations: 12.03 kB / 436.6 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.124e-05/0.2215, allocations: 28.75 kB / 436.6 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.2218, allocations: 244.6 kB / 436.8 MB, free: 2.488 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.2218, allocations: 16.94 kB / 436.9 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.726e-05/0.2219, allocations: 32.3 kB / 436.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004177/0.2223, allocations: 244 kB / 437.1 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.2223, allocations: 4.172 kB / 437.1 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.2223, allocations: 15.94 kB / 437.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.2223, allocations: 4 kB / 437.2 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003106/0.2226, allocations: 163.8 kB / 437.3 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.2237, allocations: 0.7971 MB / 438.1 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005193/0.2243, allocations: 275.8 kB / 438.4 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002472/0.2245, allocations: 130.7 kB / 438.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.2245, allocations: 7.938 kB / 438.5 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.2246, allocations: 34.56 kB / 438.6 MB, free: 0.668 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.2246, allocations: 0 / 438.6 MB, free: 0.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002917/0.2275, allocations: 1.948 MB / 440.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/0.2276, allocations: 106.8 kB / 440.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.2278, allocations: 191.2 kB / 440.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.2278, allocations: 33.7 kB / 440.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.2279, allocations: 144.8 kB / 441 MB, free: 13.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.228, allocations: 170.5 kB / 441.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.2281, allocations: 74.12 kB / 441.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.2283, allocations: 338.8 kB / 441.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.2285, allocations: 88.84 kB / 441.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.2287, allocations: 158.3 kB / 441.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004144/0.2291, allocations: 281.8 kB / 442.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2291, allocations: 0 / 442.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005481/0.2297, allocations: 359 kB / 442.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2297, allocations: 4 kB / 442.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.2297, allocations: 7.938 kB / 442.4 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.2297, allocations: 4 kB / 442.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.2301, allocations: 87.91 kB / 442.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.2301, allocations: 4.094 kB / 442.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.2302, allocations: 19.98 kB / 442.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.2302, allocations: 12 kB / 442.5 MB, free: 12.31 MB / 350.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.0001498/0.2304, allocations: 149.7 kB / 442.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.395e-05/0.2304, allocations: 31.81 kB / 442.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.049e-05/0.2305, allocations: 37.81 kB / 442.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.2305, allocations: 4.922 kB / 442.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2305, allocations: 0 / 442.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.783e-05/0.2306, allocations: 104.9 kB / 442.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.2307, allocations: 15.98 kB / 442.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.2309, allocations: 8 kB / 442.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.2309, allocations: 19.97 kB / 442.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008692/0.2318, allocations: 0.5687 MB / 443.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008265/0.2326, allocations: 0.7545 MB / 444.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001828/0.2328, allocations: 114.3 kB / 444.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.2329, allocations: 140.2 kB / 444.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of Backend: time 2.1e-07/0.2329, allocations: 3.938 kB / 444.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000743/0.2336, allocations: 246.2 kB / 444.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of SimCode: time 0.001579/0.2352, allocations: 1.267 MB / 446 MB, free: 8.762 MB / 350.1 MB Notification: Performance of Templates: time 0.00784/0.2431, allocations: 3.601 MB / 449.6 MB, free: 5.188 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.346044884994626]