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.001794/0.001794, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.002255/0.002255, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.386/1.386, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.001617/0.001617, allocations: 55.92 kB / 379 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2404, allocations: 53.36 MB / 432.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003881/0.2443, allocations: 2.436 MB / 434.8 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006687/0.2449, allocations: 247.1 kB / 435.1 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.2451, allocations: 19.88 kB / 435.1 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.2453, allocations: 39.58 kB / 435.1 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.2455, allocations: 87.25 kB / 435.2 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.2456, allocations: 51.94 kB / 435.3 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003311/0.246, allocations: 286.6 kB / 435.5 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.2461, allocations: 73.98 kB / 435.6 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.2463, allocations: 119.6 kB / 435.7 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.2464, allocations: 115.5 kB / 435.8 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.712e-05/0.2465, allocations: 20 kB / 435.9 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.072e-05/0.2465, allocations: 24 kB / 435.9 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.267e-05/0.2466, allocations: 55.78 kB / 435.9 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.2467, allocations: 131.3 kB / 436.1 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.247, allocations: 297 kB / 436.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.247, allocations: 0 / 436.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.247, allocations: 0 / 436.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.247, allocations: 0 / 436.4 MB, free: 2.941 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.0007403/0.2478, allocations: 481.5 kB / 436.8 MB, free: 2.438 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.2478, allocations: 8.031 kB / 436.8 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.276e-05/0.2479, allocations: 32.75 kB / 436.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.2482, allocations: 186.8 kB / 437 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.2482, allocations: 24.88 kB / 437.1 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.969e-05/0.2482, allocations: 24.38 kB / 437.1 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003938/0.2486, allocations: 239.2 kB / 437.3 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.2487, allocations: 4.172 kB / 437.3 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.2487, allocations: 15.94 kB / 437.4 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.2487, allocations: 4 kB / 437.4 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002806/0.249, allocations: 163.8 kB / 437.5 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.25, allocations: 0.7611 MB / 438.3 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004975/0.2505, allocations: 283.7 kB / 438.6 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.2507, allocations: 118.5 kB / 438.7 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.2508, allocations: 7.938 kB / 438.7 MB, free: 468 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.2508, allocations: 38.56 kB / 438.7 MB, free: 420 kB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 3.317e-06/0.2508, allocations: 3.984 kB / 438.7 MB, free: 416 kB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002501/0.2533, allocations: 1.512 MB / 440.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.694e-05/0.2534, allocations: 110.8 kB / 440.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.2536, allocations: 183.8 kB / 440.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.2536, allocations: 33.7 kB / 440.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.155e-05/0.2537, allocations: 140.9 kB / 440.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.2538, allocations: 170.4 kB / 440.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.2539, allocations: 82.12 kB / 440.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.2541, allocations: 334.8 kB / 441.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.2542, allocations: 92.83 kB / 441.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.2544, allocations: 158.3 kB / 441.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003787/0.2548, allocations: 277 kB / 441.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2548, allocations: 0 / 441.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00049/0.2553, allocations: 348.1 kB / 442.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.2553, allocations: 7.938 kB / 442.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2553, allocations: 4 kB / 442.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.2553, allocations: 4 kB / 442.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003192/0.2557, allocations: 92 kB / 442.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.2557, allocations: 7.984 kB / 442.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.2558, allocations: 8 kB / 442.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.2558, allocations: 16.94 kB / 442.3 MB, free: 12.62 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.0001448/0.2559, allocations: 149.7 kB / 442.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.447e-05/0.256, allocations: 35.75 kB / 442.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.552e-05/0.2561, allocations: 37.8 kB / 442.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2561, allocations: 4 kB / 442.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2561, allocations: 4 kB / 442.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.2561, allocations: 4 kB / 442.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/0.2575, allocations: 1.03 MB / 443.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2575, allocations: 48 / 443.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/0.2579, allocations: 95.88 kB / 443.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.2579, allocations: 7.938 kB / 443.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.2579, allocations: 16 kB / 443.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.2579, allocations: 4 kB / 443.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.2579, allocations: 12.2 kB / 443.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007672/0.2587, allocations: 0.7248 MB / 444.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.851e-05/0.2587, allocations: 23.8 kB / 444.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.552e-05/0.2588, allocations: 20.05 kB / 444.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.259, allocations: 8 kB / 444.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.259, allocations: 35.89 kB / 444.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.259, allocations: 16 kB / 444.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.2591, allocations: 132.5 kB / 444.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2591, allocations: 0 / 444.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004067/0.2595, allocations: 72 kB / 444.7 MB, free: 10.07 MB / 350.1 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,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001251/0.2597, allocations: 119.1 kB / 444.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004347/0.2601, allocations: 256.4 kB / 445 MB, free: 9.688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2601, allocations: 0 / 445 MB, free: 9.688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.2603, allocations: 139.7 kB / 445.2 MB, free: 9.551 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006504/0.261, allocations: 69.44 kB / 445.2 MB, free: 9.484 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.2624, allocations: 0.946 MB / 446.2 MB, free: 8.473 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.2628, allocations: 0.776 MB / 447 MB, free: 7.672 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.297e-05/0.2629, allocations: 31.44 kB / 447 MB, free: 7.641 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2629, allocations: 0 / 447 MB, free: 7.641 MB / 350.1 MB Notification: Performance of Templates: time 0.005656/0.2685, allocations: 3.488 MB / 450.5 MB, free: 4.168 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: 7.026722213951871]