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.001703/0.001703, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.002119/0.002119, allocations: 213.1 kB / 24.48 MB, free: 3.957 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.572/1.572, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.002407/0.002407, allocations: 43.92 kB / 378.9 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2694, 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.003709/0.2731, allocations: 2.28 MB / 434.6 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005668/0.2737, allocations: 247.1 kB / 434.8 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.2738, allocations: 7.938 kB / 434.8 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.2739, allocations: 43.58 kB / 434.9 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.2741, allocations: 79.27 kB / 435 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.2743, allocations: 59.92 kB / 435 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003345/0.2746, allocations: 294.6 kB / 435.3 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.2748, allocations: 73.64 kB / 435.4 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.275, allocations: 115.6 kB / 435.5 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.2751, allocations: 115.5 kB / 435.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.282e-05/0.2752, allocations: 20 kB / 435.6 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.227e-05/0.2752, allocations: 24 kB / 435.7 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.782e-05/0.2753, allocations: 55.78 kB / 435.7 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.2754, allocations: 107.5 kB / 435.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003657/0.2758, allocations: 289.8 kB / 436.1 MB, free: 2.934 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2758, allocations: 0 / 436.1 MB, free: 2.934 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.377e-06/0.2758, allocations: 11.98 kB / 436.1 MB, free: 2.922 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.2758, allocations: 0 / 436.1 MB, free: 2.922 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.0008258/0.2766, allocations: 477.5 kB / 436.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.2766, allocations: 8.031 kB / 436.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.443e-05/0.2767, allocations: 36.69 kB / 436.6 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.2771, allocations: 190.7 kB / 436.8 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.2771, allocations: 20.88 kB / 436.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.876e-05/0.2772, allocations: 32.3 kB / 436.9 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004213/0.2776, allocations: 235.2 kB / 437.1 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.2776, allocations: 4.172 kB / 437.1 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.818e-05/0.2776, allocations: 15.94 kB / 437.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.2776, allocations: 4 kB / 437.1 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.2779, allocations: 159.8 kB / 437.3 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.279, allocations: 0.6681 MB / 437.9 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005278/0.2795, allocations: 275.8 kB / 438.2 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.2798, allocations: 126.5 kB / 438.3 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.2798, allocations: 4 kB / 438.3 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.2798, allocations: 34.56 kB / 438.4 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.432e-06/0.2798, allocations: 0 / 438.4 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002686/0.2825, allocations: 1.499 MB / 439.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.891e-05/0.2826, allocations: 111.2 kB / 440 MB, free: 14.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.2828, allocations: 170.9 kB / 440.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.2828, allocations: 33.7 kB / 440.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.2829, allocations: 152.7 kB / 440.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.283, allocations: 166.5 kB / 440.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.2831, allocations: 78.08 kB / 440.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.2833, allocations: 338.8 kB / 440.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.2835, allocations: 96.78 kB / 441 MB, free: 13.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.2837, allocations: 158.3 kB / 441.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004129/0.2841, allocations: 269.9 kB / 441.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2841, allocations: 0 / 441.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005326/0.2846, allocations: 345.1 kB / 441.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.2847, allocations: 4 kB / 441.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.2847, allocations: 8.094 kB / 441.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.2847, allocations: 7.938 kB / 441.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003558/0.2851, allocations: 83.91 kB / 441.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.2851, allocations: 7.938 kB / 441.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.2852, allocations: 15.98 kB / 441.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.2852, allocations: 16 kB / 441.9 MB, free: 12.74 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.0001606/0.2854, allocations: 149.7 kB / 442 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.513e-05/0.2855, allocations: 31.81 kB / 442.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.987e-05/0.2856, allocations: 41.78 kB / 442.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.2856, allocations: 4 kB / 442.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.2856, allocations: 4 kB / 442.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.2856, allocations: 7.922 kB / 442.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/0.287, allocations: 0.9293 MB / 443 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.287, allocations: 4 kB / 443 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000408/0.2874, allocations: 96.17 kB / 443.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.2874, allocations: 4 kB / 443.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.2874, allocations: 12 kB / 443.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.2875, allocations: 7.938 kB / 443.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.2875, allocations: 7.938 kB / 443.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008427/0.2883, allocations: 0.7252 MB / 443.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.243e-05/0.2883, allocations: 23.92 kB / 443.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.2884, allocations: 15.94 kB / 443.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.2886, allocations: 12 kB / 443.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/0.2887, allocations: 35.94 kB / 444 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.2887, allocations: 15.94 kB / 444 MB, free: 10.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001079/0.2888, allocations: 128.3 kB / 444.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2888, allocations: 3.938 kB / 444.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004396/0.2892, allocations: 76 kB / 444.2 MB, free: 10.29 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.0001243/0.2894, allocations: 107.1 kB / 444.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004578/0.2898, allocations: 262.5 kB / 444.6 MB, free: 9.918 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2898, allocations: 4.125 kB / 444.6 MB, free: 9.914 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.29, allocations: 131.8 kB / 444.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006798/0.2907, allocations: 65.17 kB / 444.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.2922, allocations: 0.9506 MB / 445.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/0.2924, allocations: 159.8 kB / 445.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.712e-05/0.2925, allocations: 31.44 kB / 445.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2925, allocations: 0 / 445.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of Templates: time 0.006236/0.2987, allocations: 3.528 MB / 449.4 MB, free: 4.984 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.386565521010198]