Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001786/0.001786, allocations: 107.8 kB / 19.17 MB, free: 3.871 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.002037/0.002037, allocations: 208.9 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 67.89 kB / 374.5 MB, free: 9.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1033, allocations: 53.31 MB / 427.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003808/0.1071, allocations: 2.447 MB / 430.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005426/0.1077, allocations: 235.1 kB / 430.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.1078, allocations: 11.88 kB / 430.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.1079, allocations: 51.56 kB / 430.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.1081, allocations: 79.27 kB / 430.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.1083, allocations: 55.92 kB / 430.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003355/0.1086, allocations: 294.6 kB / 431 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.1088, allocations: 69.7 kB / 431 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.1089, allocations: 115.6 kB / 431.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.1091, allocations: 115.5 kB / 431.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.338e-05/0.1092, allocations: 24 kB / 431.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.941e-05/0.1092, allocations: 24 kB / 431.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.1093, allocations: 47.84 kB / 431.4 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.1094, allocations: 139.3 kB / 431.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003522/0.1098, allocations: 290.7 kB / 431.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1098, allocations: 0 / 431.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1098, allocations: 0 / 431.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1098, allocations: 0 / 431.8 MB, free: 0.5117 MB / 350.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.1874/0.2972, allocations: 0.5462 MB / 432.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.2972, allocations: 8.406 kB / 432.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.54e-05/0.2973, allocations: 32.25 kB / 432.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.2976, allocations: 246.4 kB / 432.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.2976, allocations: 17.44 kB / 432.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.74e-05/0.2977, allocations: 26.73 kB / 432.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004219/0.2981, allocations: 239.9 kB / 432.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.2981, allocations: 11.83 kB / 432.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.2981, allocations: 10.19 kB / 432.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.2981, allocations: 6.094 kB / 432.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003058/0.2985, allocations: 167.5 kB / 433.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000913/0.2994, allocations: 0.7941 MB / 433.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004527/0.2998, allocations: 279.3 kB / 434.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/0.3, allocations: 122 kB / 434.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.3001, allocations: 5.656 kB / 434.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.3001, allocations: 39.88 kB / 434.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.994e-06/0.3001, allocations: 0 / 434.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.002294/0.3024, allocations: 1.962 MB / 436.3 MB, free: 9.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.3024, allocations: 111 kB / 436.4 MB, free: 9.211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.3025, allocations: 186.1 kB / 436.6 MB, free: 9.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.3026, allocations: 30.77 kB / 436.6 MB, free: 9.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.712e-05/0.3026, allocations: 137.6 kB / 436.7 MB, free: 8.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.257e-05/0.3027, allocations: 172.8 kB / 436.9 MB, free: 8.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.811e-05/0.3028, allocations: 69.7 kB / 437 MB, free: 8.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.269e-05/0.3028, allocations: 340.2 kB / 437.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.303, allocations: 90.62 kB / 437.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.3031, allocations: 158.9 kB / 437.5 MB, free: 8.297 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/0.3035, allocations: 275.7 kB / 437.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3035, allocations: 4.656 kB / 437.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004618/0.3039, allocations: 340.1 kB / 438.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.304, allocations: 10.44 kB / 438.2 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.304, allocations: 1.188 kB / 438.2 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.304, allocations: 8.938 kB / 438.2 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003365/0.3043, allocations: 93.66 kB / 438.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.3043, allocations: 5.75 kB / 438.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.3044, allocations: 12.38 kB / 438.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.3045, allocations: 14.72 kB / 438.3 MB, free: 7.984 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.0001139/0.3046, allocations: 152.6 kB / 438.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.274e-05/0.3047, allocations: 33.31 kB / 438.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.023e-05/0.3048, allocations: 38.75 kB / 438.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.3048, allocations: 5.875 kB / 438.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.3048, allocations: 1.25 kB / 438.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3048, allocations: 5.172 kB / 438.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.3059, allocations: 1.055 MB / 439.6 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.3059, allocations: 3.062 kB / 439.6 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003769/0.3063, allocations: 89.77 kB / 439.7 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.3063, allocations: 7.688 kB / 439.7 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.3064, allocations: 10.42 kB / 439.7 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.3064, allocations: 9.094 kB / 439.7 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.3064, allocations: 9.656 kB / 439.7 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006281/0.307, allocations: 0.7194 MB / 440.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.93e-05/0.307, allocations: 110.3 kB / 440.5 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.3071, allocations: 14.36 kB / 440.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.3073, allocations: 11.38 kB / 440.6 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.3073, allocations: 41.5 kB / 440.6 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.3074, allocations: 10.72 kB / 440.6 MB, free: 6.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.962e-05/0.3075, allocations: 143.6 kB / 440.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3075, allocations: 1.375 kB / 440.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000448/0.3079, allocations: 70.84 kB / 440.8 MB, free: 6.238 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.0001106/0.308, allocations: 109.5 kB / 440.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004382/0.3084, allocations: 265 kB / 441.2 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3085, allocations: 1.094 kB / 441.2 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.3086, allocations: 129.9 kB / 441.3 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006891/0.3093, allocations: 73.8 kB / 441.4 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.3106, allocations: 0.9404 MB / 442.3 MB, free: 5.312 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.3108, allocations: 0.7712 MB / 443.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.758e-05/0.3109, allocations: 33.88 kB / 443.1 MB, free: 4.594 MB / 350.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3109, allocations: 0 / 443.1 MB, free: 4.594 MB / 350.1 MB Notification: Performance of Templates: time 0.006472/0.3174, allocations: 3.499 MB / 446.6 MB, free: 4.238 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.432689428096637]