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.001217/0.001217, allocations: 81.86 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001371/0.001371, allocations: 165.8 kB / 24.82 MB, free: 8.387 MB / 18.57 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.003/1.003, allocations: 177.1 MB / 205.3 MB, free: 5.152 MB / 186.7 MB " [Timeout remaining time 179] 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 1.413e-06/1.413e-06, allocations: 3.938 kB / 273.4 MB, free: 1.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.909e-06/1.132e-05, allocations: 2.312 kB / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002207/0.002219, allocations: 2.393 MB / 275.8 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00041/0.002629, allocations: 247.1 kB / 276 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.13e-05/0.00272, allocations: 7.938 kB / 276 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.002836, allocations: 35.64 kB / 276.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.002947, allocations: 99.12 kB / 276.2 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000122/0.003069, allocations: 63.8 kB / 276.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.003269, allocations: 302.4 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.003405, allocations: 62.89 kB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.003534, allocations: 167.7 kB / 276.7 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.003643, allocations: 87.77 kB / 276.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.003671, allocations: 24 kB / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.758e-05/0.003698, allocations: 24 kB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.423e-05/0.003732, allocations: 55.75 kB / 276.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.383e-05/0.003796, allocations: 91.81 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.003972, allocations: 195.2 kB / 277.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.003974, allocations: 0 / 277.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.003974, allocations: 0 / 277.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.003978, allocations: 0 / 277.2 MB, free: 13.35 MB / 266.7 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.0004965/0.004474, allocations: 0.5701 MB / 277.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.00451, allocations: 12.03 kB / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/0.004565, allocations: 48.75 kB / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.004747, allocations: 192.8 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.004763, allocations: 20.88 kB / 278 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.22e-05/0.004795, allocations: 24.38 kB / 278.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.004999, allocations: 187.7 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.005012, allocations: 4.188 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.005028, allocations: 24.3 kB / 278.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.005039, allocations: 8.375 kB / 278.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.865e-05/0.005137, allocations: 87.78 kB / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005731/0.00571, allocations: 0.7592 MB / 279.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.005953, allocations: 225.1 kB / 279.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.006053, allocations: 91.22 kB / 279.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.006067, allocations: 15.94 kB / 279.5 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.006092, allocations: 45.33 kB / 279.5 MB, free: 10.87 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.533e-06/0.006093, allocations: 0 / 279.5 MB, free: 10.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.001211/0.007304, allocations: 1.266 MB / 280.8 MB, free: 9.434 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.007345, allocations: 110.8 kB / 280.9 MB, free: 9.301 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.533e-05/0.00744, allocations: 229.7 kB / 281.1 MB, free: 9.059 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.007456, allocations: 33.7 kB / 281.1 MB, free: 9.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.024e-05/0.007526, allocations: 195.5 kB / 281.3 MB, free: 8.824 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.275e-05/0.007599, allocations: 162.5 kB / 281.5 MB, free: 8.664 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.767e-05/0.007667, allocations: 83.81 kB / 281.6 MB, free: 8.574 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.007785, allocations: 0.5078 MB / 282.1 MB, free: 8.055 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.885e-05/0.007834, allocations: 40.95 kB / 282.1 MB, free: 8.012 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.649e-05/0.007921, allocations: 130.7 kB / 282.2 MB, free: 7.859 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.00808, allocations: 212.5 kB / 282.4 MB, free: 7.625 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.008082, allocations: 0 / 282.4 MB, free: 7.625 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0002328/0.008315, allocations: 263.9 kB / 282.7 MB, free: 7.363 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.008327, allocations: 7.984 kB / 282.7 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.008332, allocations: 4 kB / 282.7 MB, free: 7.352 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.008344, allocations: 4 kB / 282.7 MB, free: 7.348 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.008513, allocations: 87.91 kB / 282.8 MB, free: 7.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.008517, allocations: 4 kB / 282.8 MB, free: 7.258 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.103e-05/0.008568, allocations: 11.94 kB / 282.8 MB, free: 7.246 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.008579, allocations: 16.09 kB / 282.8 MB, free: 7.23 MB / 266.7 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 8.012e-05/0.008659, allocations: 184.4 kB / 283 MB, free: 7.039 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/0.008713, allocations: 47.81 kB / 283.1 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.376e-05/0.008757, allocations: 33.81 kB / 283.1 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.00876, allocations: 4 kB / 283.1 MB, free: 6.953 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.008762, allocations: 0 / 283.1 MB, free: 6.953 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.008768, allocations: 3.984 kB / 283.1 MB, free: 6.949 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007051/0.009473, allocations: 0.9837 MB / 284.1 MB, free: 5.895 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.009476, allocations: 4 kB / 284.1 MB, free: 5.891 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.009654, allocations: 87.89 kB / 284.2 MB, free: 5.805 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.009658, allocations: 4 kB / 284.2 MB, free: 5.801 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.009671, allocations: 12 kB / 284.2 MB, free: 5.789 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.009674, allocations: 4 kB / 284.2 MB, free: 5.785 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.009679, allocations: 12.22 kB / 284.2 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/0.01006, allocations: 0.7662 MB / 285 MB, free: 4.941 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.095e-05/0.01008, allocations: 23.86 kB / 285 MB, free: 4.918 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.0101, allocations: 12 kB / 285 MB, free: 4.906 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.01021, allocations: 8 kB / 285 MB, free: 4.898 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/0.01023, allocations: 35.88 kB / 285.1 MB, free: 4.863 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.01025, allocations: 16 kB / 285.1 MB, free: 4.848 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.687e-05/0.01029, allocations: 148.2 kB / 285.2 MB, free: 4.703 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01029, allocations: 0 / 285.2 MB, free: 4.703 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002525/0.01054, allocations: 76 kB / 285.3 MB, free: 4.629 MB / 266.7 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 7.507e-05/0.01062, allocations: 119.1 kB / 285.4 MB, free: 4.504 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00018/0.0108, allocations: 187.8 kB / 285.6 MB, free: 4.316 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.0108, allocations: 3.938 kB / 285.6 MB, free: 4.312 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.504e-05/0.01089, allocations: 116.1 kB / 285.7 MB, free: 4.195 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.01127, allocations: 72.45 kB / 285.8 MB, free: 4.125 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007077/0.01198, allocations: 0.7803 MB / 286.6 MB, free: 3.266 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.327e-05/0.01204, allocations: 97.28 kB / 286.7 MB, free: 3.148 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.15e-05/0.01212, allocations: 30.97 kB / 286.7 MB, free: 3.117 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.01224, allocations: 142.2 kB / 286.8 MB, free: 2.977 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01225, allocations: 0 / 286.8 MB, free: 2.977 MB / 266.7 MB Notification: Performance of Templates: time 0.0866/0.09884, allocations: 3.241 MB / 290.1 MB, free: 26.13 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6123379450291395]