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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001158/0.001158, allocations: 113.7 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0013/0.0013, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 64.03 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.282, allocations: 50.54 MB / 409.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003394/0.2854, allocations: 2.432 MB / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004904/0.2859, allocations: 243.1 kB / 412.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.2861, allocations: 15.88 kB / 412.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.2862, allocations: 39.58 kB / 412.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.2864, allocations: 83.27 kB / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000167/0.2865, allocations: 55.94 kB / 412.8 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.2869, allocations: 290.6 kB / 413.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.2871, allocations: 97.67 kB / 413.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.2872, allocations: 111.6 kB / 413.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.2874, allocations: 119.5 kB / 413.4 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.687e-05/0.2874, allocations: 20 kB / 413.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.556e-05/0.2875, allocations: 24 kB / 413.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.114e-05/0.2875, allocations: 59.75 kB / 413.5 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.2877, allocations: 127.4 kB / 413.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.288, allocations: 296 kB / 413.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.288, allocations: 0 / 413.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.288, allocations: 0 / 413.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.288, allocations: 0 / 413.9 MB, free: 13.62 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.0007703/0.2888, allocations: 0.5419 MB / 414.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.2888, allocations: 8.031 kB / 414.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.839e-05/0.2889, allocations: 28.66 kB / 414.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.2892, allocations: 248.5 kB / 414.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.2892, allocations: 24.92 kB / 414.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.034e-05/0.2893, allocations: 32.31 kB / 414.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003842/0.2897, allocations: 232 kB / 415 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.2897, allocations: 8.078 kB / 415 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.2897, allocations: 15.94 kB / 415 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.2898, allocations: 4 kB / 415 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002723/0.29, allocations: 167 kB / 415.2 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.2911, allocations: 0.7969 MB / 416 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004957/0.2916, allocations: 291.8 kB / 416.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/0.2918, allocations: 134.7 kB / 416.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.2919, allocations: 7.938 kB / 416.4 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.2919, allocations: 34.56 kB / 416.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 2.043e-06/0.2919, allocations: 0 / 416.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002657/0.2946, allocations: 1.942 MB / 418.4 MB, free: 8.656 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/0.2947, allocations: 114.8 kB / 418.5 MB, free: 8.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.2948, allocations: 187.4 kB / 418.7 MB, free: 8.324 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.2949, allocations: 33.7 kB / 418.7 MB, free: 8.285 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.823e-05/0.295, allocations: 141.6 kB / 418.9 MB, free: 8.145 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.2951, allocations: 157.7 kB / 419 MB, free: 7.988 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.034e-05/0.2952, allocations: 74.12 kB / 419.1 MB, free: 7.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.2953, allocations: 338.8 kB / 419.4 MB, free: 7.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.2955, allocations: 92.83 kB / 419.5 MB, free: 7.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.2957, allocations: 154.3 kB / 419.7 MB, free: 7.309 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003549/0.296, allocations: 273.5 kB / 419.9 MB, free: 7.023 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.296, allocations: 0 / 419.9 MB, free: 7.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004862/0.2965, allocations: 362.3 kB / 420.3 MB, free: 6.668 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.2966, allocations: 7.938 kB / 420.3 MB, free: 6.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2966, allocations: 7.938 kB / 420.3 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.2966, allocations: 4 kB / 420.3 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/0.2969, allocations: 87.91 kB / 420.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.297, allocations: 12.08 kB / 420.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.2971, allocations: 12 kB / 420.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.2971, allocations: 16 kB / 420.4 MB, free: 6.523 MB / 334.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.0002169/0.2973, allocations: 153.7 kB / 420.6 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.084e-05/0.2974, allocations: 31.66 kB / 420.6 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.618e-05/0.2975, allocations: 37.86 kB / 420.6 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.2975, allocations: 4 kB / 420.6 MB, free: 6.293 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.2975, allocations: 0 / 420.6 MB, free: 6.293 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.2976, allocations: 4 kB / 420.6 MB, free: 6.289 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.2989, allocations: 1.043 MB / 421.7 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.2989, allocations: 7.984 kB / 421.7 MB, free: 5.152 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003478/0.2993, allocations: 83.91 kB / 421.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.208e-06/0.2993, allocations: 7.938 kB / 421.8 MB, free: 5.062 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.2993, allocations: 12 kB / 421.8 MB, free: 5.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.2994, allocations: 4 kB / 421.8 MB, free: 5.047 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.2994, allocations: 11.92 kB / 421.8 MB, free: 5.035 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007108/0.3001, allocations: 0.7248 MB / 422.5 MB, free: 4.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.053e-05/0.3002, allocations: 108.8 kB / 422.6 MB, free: 4.145 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/0.3002, allocations: 12.06 kB / 422.7 MB, free: 4.133 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.3004, allocations: 8 kB / 422.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.3005, allocations: 35.91 kB / 422.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.3005, allocations: 16 kB / 422.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.3006, allocations: 140.2 kB / 422.8 MB, free: 3.938 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3006, allocations: 0 / 422.8 MB, free: 3.938 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004091/0.301, allocations: 72 kB / 422.9 MB, free: 3.867 MB / 334.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.0001282/0.3012, allocations: 111.1 kB / 423 MB, free: 3.746 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004238/0.3016, allocations: 287.8 kB / 423.3 MB, free: 3.465 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3016, allocations: 0 / 423.3 MB, free: 3.465 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.3018, allocations: 147.7 kB / 423.5 MB, free: 3.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006914/0.3025, allocations: 64.08 kB / 423.5 MB, free: 3.258 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.3039, allocations: 0.9342 MB / 424.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.3043, allocations: 0.7683 MB / 425.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8e-05/0.3044, allocations: 27.44 kB / 425.2 MB, free: 1.434 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3044, allocations: 0 / 425.2 MB, free: 1.434 MB / 334.1 MB Notification: Performance of Templates: time 0.005326/0.3097, allocations: 3.491 MB / 428.7 MB, free: 13.96 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches