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.001901/0.001901, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002213/0.002213, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.462/1.462, allocations: 230.6 MB / 258.2 MB, free: 7.777 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.001652/0.001652, allocations: 48.06 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2429, allocations: 53.37 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003714/0.2466, allocations: 2.269 MB / 434.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005366/0.2471, allocations: 251.1 kB / 434.8 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.2472, allocations: 4 kB / 434.8 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001531/0.2474, allocations: 39.58 kB / 434.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.2476, allocations: 91.2 kB / 435 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001704/0.2477, allocations: 51.94 kB / 435 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003405/0.2481, allocations: 298.6 kB / 435.3 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.2483, allocations: 65.66 kB / 435.4 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.2484, allocations: 115.6 kB / 435.5 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.2486, allocations: 99.42 kB / 435.6 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.2e-05/0.2486, allocations: 24 kB / 435.6 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.847e-05/0.2487, allocations: 24 kB / 435.6 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.574e-05/0.2487, allocations: 55.77 kB / 435.7 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.2489, allocations: 115.5 kB / 435.8 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003483/0.2492, allocations: 289.8 kB / 436.1 MB, free: 2.949 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2492, allocations: 0 / 436.1 MB, free: 2.949 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2492, allocations: 4 kB / 436.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.2492, allocations: 0 / 436.1 MB, free: 2.945 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.0008034/0.25, allocations: 477.6 kB / 436.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.2501, allocations: 8.031 kB / 436.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.871e-05/0.2501, allocations: 32.75 kB / 436.6 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.2505, allocations: 194.7 kB / 436.8 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.2505, allocations: 20.81 kB / 436.8 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.18e-05/0.2506, allocations: 24.38 kB / 436.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004102/0.251, allocations: 239.1 kB / 437.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.251, allocations: 4.188 kB / 437.1 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.251, allocations: 11.94 kB / 437.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.251, allocations: 8 kB / 437.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.2513, allocations: 159.9 kB / 437.2 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.2524, allocations: 0.672 MB / 437.9 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005367/0.2529, allocations: 279.7 kB / 438.2 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.2531, allocations: 118.5 kB / 438.3 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.2532, allocations: 4 kB / 438.3 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.2532, allocations: 42.5 kB / 438.3 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 2.184e-06/0.2532, allocations: 0 / 438.3 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002684/0.2559, allocations: 1.495 MB / 439.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.825e-05/0.256, allocations: 106.8 kB / 439.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.2562, allocations: 174.9 kB / 440.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.2562, allocations: 29.7 kB / 440.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.2563, allocations: 152.8 kB / 440.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.2564, allocations: 162.6 kB / 440.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.2566, allocations: 78.09 kB / 440.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.2567, allocations: 334.8 kB / 440.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.2569, allocations: 96.83 kB / 441 MB, free: 13.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.2571, allocations: 150.3 kB / 441.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004114/0.2575, allocations: 287.1 kB / 441.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.2575, allocations: 4 kB / 441.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005309/0.2581, allocations: 336 kB / 441.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.2581, allocations: 8 kB / 441.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2581, allocations: 4.094 kB / 441.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.2581, allocations: 7.938 kB / 441.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.2585, allocations: 99.83 kB / 441.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.2585, allocations: 4 kB / 441.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.2586, allocations: 12 kB / 441.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/0.2586, allocations: 16 kB / 441.9 MB, free: 12.76 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.0001584/0.2588, allocations: 157.7 kB / 442 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.398e-05/0.2588, allocations: 27.81 kB / 442 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.371e-05/0.2589, allocations: 41.73 kB / 442.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.2589, allocations: 4 kB / 442.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.259, allocations: 11.94 kB / 442.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.259, allocations: 0 / 442.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.2604, allocations: 0.9263 MB / 443 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.2604, allocations: 4 kB / 443 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003826/0.2608, allocations: 100.1 kB / 443.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.2608, allocations: 4 kB / 443.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.2608, allocations: 8.094 kB / 443.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/0.2608, allocations: 11.88 kB / 443.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.2608, allocations: 4 kB / 443.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008701/0.2617, allocations: 0.727 MB / 443.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.416e-05/0.2617, allocations: 27.92 kB / 443.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.089e-05/0.2618, allocations: 15.92 kB / 443.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.262, allocations: 12 kB / 443.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.262, allocations: 39.89 kB / 444 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.2621, allocations: 11.94 kB / 444 MB, free: 10.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.2622, allocations: 124.3 kB / 444.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2622, allocations: 0 / 444.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004398/0.2626, allocations: 72 kB / 444.2 MB, free: 10.32 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.0001518/0.2628, allocations: 119.1 kB / 444.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004659/0.2632, allocations: 254.8 kB / 444.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2632, allocations: 192 / 444.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.2634, allocations: 139.7 kB / 444.7 MB, free: 9.809 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007236/0.2642, allocations: 56.62 kB / 444.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.2657, allocations: 0.9505 MB / 445.7 MB, free: 8.742 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.2659, allocations: 159.8 kB / 445.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.717e-05/0.266, allocations: 27.62 kB / 445.9 MB, free: 8.539 MB / 350.1 MB Notification: Performance of SimCode: time 6.82e-07/0.266, allocations: 0 / 445.9 MB, free: 8.539 MB / 350.1 MB Notification: Performance of Templates: time 0.006189/0.2722, allocations: 3.538 MB / 449.4 MB, free: 5.012 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.124725611880422]