Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 88.48 kB / 20.95 MB, free: 476 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 152.8 kB / 24.25 MB, free: 3.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 173.3 MB / 200.8 MB, free: 12.73 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 267.3 MB, free: 10.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.825e-05/2.974e-05, allocations: 5.406 kB / 267.3 MB, free: 10.21 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003467/0.003497, allocations: 2.26 MB / 269.6 MB, free: 7.934 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005143/0.004011, allocations: 243 kB / 269.8 MB, free: 7.695 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.004122, allocations: 7.938 kB / 269.8 MB, free: 7.688 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001601/0.004282, allocations: 47.52 kB / 269.9 MB, free: 7.641 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.004453, allocations: 87.2 kB / 269.9 MB, free: 7.555 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.004623, allocations: 51.92 kB / 270 MB, free: 7.504 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003462/0.004969, allocations: 310.3 kB / 270.3 MB, free: 7.199 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.005151, allocations: 66.05 kB / 270.4 MB, free: 7.133 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.005351, allocations: 167.6 kB / 270.5 MB, free: 6.969 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.005514, allocations: 87.72 kB / 270.6 MB, free: 6.883 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 4.649e-05/0.00556, allocations: 23.94 kB / 270.6 MB, free: 6.859 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.143e-05/0.005612, allocations: 24 kB / 270.7 MB, free: 6.836 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 5.706e-05/0.005669, allocations: 55.81 kB / 270.7 MB, free: 6.781 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.005785, allocations: 91.75 kB / 270.8 MB, free: 6.691 MB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003471/0.006132, allocations: 291 kB / 271.1 MB, free: 6.406 MB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.006135, allocations: 0 / 271.1 MB, free: 6.406 MB / 254.1 MB Notification: Performance of FrontEnd: time 5.91e-07/0.006136, allocations: 0 / 271.1 MB, free: 6.406 MB / 254.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.006141, allocations: 4 kB / 271.1 MB, free: 6.402 MB / 254.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.0008213/0.006962, allocations: 481.5 kB / 271.6 MB, free: 5.898 MB / 254.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.006999, allocations: 8.922 kB / 271.6 MB, free: 5.891 MB / 254.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.798e-05/0.007097, allocations: 52.75 kB / 271.6 MB, free: 5.84 MB / 254.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.007418, allocations: 190.1 kB / 271.8 MB, free: 5.625 MB / 254.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.007439, allocations: 12.88 kB / 271.8 MB, free: 5.613 MB / 254.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.771e-05/0.007497, allocations: 32.33 kB / 271.8 MB, free: 5.582 MB / 254.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004468/0.007943, allocations: 243.1 kB / 272.1 MB, free: 5.328 MB / 254.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.00796, allocations: 192 / 272.1 MB, free: 5.328 MB / 254.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.077e-05/0.007991, allocations: 12.38 kB / 272.1 MB, free: 5.316 MB / 254.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.007999, allocations: 4.375 kB / 272.1 MB, free: 5.312 MB / 254.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002929/0.008292, allocations: 167.7 kB / 272.3 MB, free: 5.148 MB / 254.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.0093, allocations: 0.6681 MB / 272.9 MB, free: 4.441 MB / 254.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005491/0.009849, allocations: 279.8 kB / 273.2 MB, free: 4.141 MB / 254.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/0.0101, allocations: 118.5 kB / 273.3 MB, free: 4.016 MB / 254.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.01013, allocations: 11.94 kB / 273.3 MB, free: 4.004 MB / 254.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.01017, allocations: 42.5 kB / 273.4 MB, free: 3.953 MB / 254.1 MB Notification: Performance of pre-optimization done (n=33): time 1.563e-06/0.01017, allocations: 0 / 273.4 MB, free: 3.953 MB / 254.1 MB Notification: Performance of matching and sorting (n=45): time 0.002705/0.01287, allocations: 1.504 MB / 274.9 MB, free: 2.301 MB / 254.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.119e-05/0.01294, allocations: 114.8 kB / 275 MB, free: 2.164 MB / 254.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.01311, allocations: 166.3 kB / 275.2 MB, free: 1.992 MB / 254.1 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.01314, allocations: 37.7 kB / 275.2 MB, free: 1.949 MB / 254.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.01325, allocations: 136.8 kB / 275.3 MB, free: 1.812 MB / 254.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.01338, allocations: 170.5 kB / 275.5 MB, free: 1.645 MB / 254.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.01349, allocations: 74.19 kB / 275.6 MB, free: 1.566 MB / 254.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.01365, allocations: 334.8 kB / 275.9 MB, free: 1.23 MB / 254.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.01382, allocations: 92.91 kB / 276 MB, free: 1.137 MB / 254.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.01404, allocations: 163 kB / 276.1 MB, free: 0.957 MB / 254.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004262/0.01447, allocations: 269.4 kB / 276.4 MB, free: 0.6758 MB / 254.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.01447, allocations: 0 / 276.4 MB, free: 0.6758 MB / 254.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005687/0.01504, allocations: 364 kB / 276.8 MB, free: 324 kB / 254.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.01506, allocations: 6.812 kB / 276.8 MB, free: 320 kB / 254.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.01506, allocations: 0 / 276.8 MB, free: 320 kB / 254.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.01508, allocations: 4.094 kB / 276.8 MB, free: 316 kB / 254.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/0.01546, allocations: 95.89 kB / 276.9 MB, free: 220 kB / 254.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.01548, allocations: 11.88 kB / 276.9 MB, free: 208 kB / 254.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.01559, allocations: 12.05 kB / 276.9 MB, free: 196 kB / 254.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.01562, allocations: 15.98 kB / 276.9 MB, free: 180 kB / 254.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.0001571/0.01577, allocations: 153.7 kB / 277 MB, free: 16 kB / 254.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.0159, allocations: 39.84 kB / 277.1 MB, free: 15.98 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.235e-05/0.01599, allocations: 33.81 kB / 277.1 MB, free: 15.94 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.016, allocations: 8 kB / 277.1 MB, free: 15.93 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.016, allocations: 0 / 277.1 MB, free: 15.93 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.01601, allocations: 11.92 kB / 277.1 MB, free: 15.92 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.0175, allocations: 0.9487 MB / 278.1 MB, free: 14.91 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.0175, allocations: 0 / 278.1 MB, free: 14.91 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004097/0.01791, allocations: 95.89 kB / 278.2 MB, free: 14.81 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.01792, allocations: 4.281 kB / 278.2 MB, free: 14.81 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.01795, allocations: 16 kB / 278.2 MB, free: 14.79 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077e-05/0.01796, allocations: 11.94 kB / 278.2 MB, free: 14.78 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.01796, allocations: 0 / 278.2 MB, free: 14.78 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008713/0.01883, allocations: 0.7295 MB / 278.9 MB, free: 14 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.01888, allocations: 23.84 kB / 279 MB, free: 13.98 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.01892, allocations: 16.06 kB / 279 MB, free: 13.96 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.01913, allocations: 8 kB / 279 MB, free: 13.96 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.355e-05/0.01921, allocations: 39.81 kB / 279 MB, free: 13.92 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.01923, allocations: 16 kB / 279 MB, free: 13.9 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001263/0.01936, allocations: 132.8 kB / 279.2 MB, free: 13.77 MB / 270.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01936, allocations: 0 / 279.2 MB, free: 13.77 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004486/0.01981, allocations: 72 kB / 279.2 MB, free: 13.7 MB / 270.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.0001834/0.01999, allocations: 107.2 kB / 279.3 MB, free: 13.59 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004507/0.02044, allocations: 251.6 kB / 279.6 MB, free: 13.34 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.02044, allocations: 0 / 279.6 MB, free: 13.34 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002101/0.02065, allocations: 144 kB / 279.7 MB, free: 13.2 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006947/0.02135, allocations: 61.12 kB / 279.8 MB, free: 13.14 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.02267, allocations: 0.7918 MB / 280.6 MB, free: 12.29 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/0.02284, allocations: 159.8 kB / 280.7 MB, free: 12.12 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.000114/0.02296, allocations: 34.95 kB / 280.8 MB, free: 12.08 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.552e-05/0.02303, allocations: 28.5 kB / 280.8 MB, free: 12.05 MB / 270.1 MB Notification: Performance of SimCode: time 3.41e-07/0.02303, allocations: 0 / 280.8 MB, free: 12.05 MB / 270.1 MB Notification: Performance of Templates: time 0.007792/0.03083, allocations: 2.941 MB / 283.7 MB, free: 9.156 MB / 270.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.096566587686539]