Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 106.8 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 215.5 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.45/1.45, allocations: 230.6 MB / 258.3 MB, free: 7.781 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 47.91 kB / 379 MB, free: 2.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2223, allocations: 53.37 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003738/0.226, allocations: 2.265 MB / 434.6 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006281/0.2266, allocations: 247.1 kB / 434.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.2268, allocations: 11.94 kB / 434.8 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001414/0.2269, allocations: 39.58 kB / 434.9 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.2271, allocations: 79.27 kB / 435 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001746/0.2272, allocations: 63.92 kB / 435 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003078/0.2275, allocations: 290.6 kB / 435.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.2277, allocations: 73.98 kB / 435.4 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.2279, allocations: 115.6 kB / 435.5 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.228, allocations: 111.5 kB / 435.6 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.466e-05/0.2281, allocations: 20 kB / 435.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.604e-05/0.2281, allocations: 24 kB / 435.6 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.465e-05/0.2282, allocations: 59.81 kB / 435.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.2283, allocations: 111.4 kB / 435.8 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.2286, allocations: 296.5 kB / 436.1 MB, free: 2.941 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2286, allocations: 0 / 436.1 MB, free: 2.941 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2286, allocations: 4 kB / 436.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.2286, allocations: 0 / 436.1 MB, free: 2.938 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.0007612/0.2294, allocations: 477.5 kB / 436.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.2294, allocations: 12.03 kB / 436.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.705e-05/0.2295, allocations: 28.75 kB / 436.6 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.2298, allocations: 198.7 kB / 436.8 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.2298, allocations: 12.88 kB / 436.8 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.614e-05/0.2299, allocations: 32.36 kB / 436.9 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004208/0.2303, allocations: 239.2 kB / 437.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.2303, allocations: 192 / 437.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.2303, allocations: 15.94 kB / 437.1 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.2303, allocations: 7.938 kB / 437.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002845/0.2306, allocations: 163.8 kB / 437.3 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009663/0.2316, allocations: 0.6642 MB / 437.9 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000505/0.2321, allocations: 275.8 kB / 438.2 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/0.2323, allocations: 122.5 kB / 438.3 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.2323, allocations: 4 kB / 438.3 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.2324, allocations: 34.56 kB / 438.4 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.663e-06/0.2324, allocations: 0 / 438.4 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002562/0.2349, allocations: 1.513 MB / 439.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/0.235, allocations: 110.8 kB / 440 MB, free: 14.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.2352, allocations: 170.9 kB / 440.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.2352, allocations: 33.7 kB / 440.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.93e-05/0.2353, allocations: 148.8 kB / 440.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.2354, allocations: 166.6 kB / 440.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.2355, allocations: 74.09 kB / 440.6 MB, free: 14.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.2357, allocations: 334.8 kB / 440.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.2358, allocations: 96.83 kB / 441 MB, free: 13.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.236, allocations: 158.3 kB / 441.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/0.2364, allocations: 274 kB / 441.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2364, allocations: 3.938 kB / 441.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005122/0.2369, allocations: 339.9 kB / 441.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.237, allocations: 4 kB / 441.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.237, allocations: 0 / 441.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.237, allocations: 12.03 kB / 441.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003542/0.2373, allocations: 95.89 kB / 441.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.2373, allocations: 4 kB / 441.9 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.2374, allocations: 12 kB / 441.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.2375, allocations: 15.94 kB / 441.9 MB, free: 12.75 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.000142/0.2376, allocations: 153.7 kB / 442 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.864e-05/0.2377, allocations: 23.86 kB / 442.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.679e-05/0.2378, allocations: 37.8 kB / 442.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.2378, allocations: 3.938 kB / 442.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2378, allocations: 4 kB / 442.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.723e-05/0.2378, allocations: 27.81 kB / 442.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.699e-05/0.2379, allocations: 7.984 kB / 442.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.2381, allocations: 12 kB / 442.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.2381, allocations: 19.95 kB / 442.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008621/0.239, allocations: 0.5721 MB / 442.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007936/0.2398, allocations: 0.7478 MB / 443.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001801/0.24, allocations: 119.8 kB / 443.6 MB, free: 11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.18e-05/0.2401, allocations: 128.3 kB / 443.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of Backend: time 3.51e-07/0.2401, allocations: 0 / 443.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007329/0.2408, allocations: 244 kB / 444 MB, free: 10.63 MB / 350.1 MB Notification: Performance of SimCode: time 0.00158/0.2424, allocations: 1.266 MB / 445.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of Templates: time 0.007951/0.2503, allocations: 4.021 MB / 449.3 MB, free: 5.348 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.231911423994461]