Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001565/0.001565, allocations: 118.6 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001588/0.001588, allocations: 207.6 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.446/1.446, allocations: 227.7 MB / 247.9 MB, free: 10.19 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 63.89 kB / 359.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2744, allocations: 50.54 MB / 410.2 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003706/0.2781, allocations: 2.432 MB / 412.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005027/0.2786, allocations: 242.7 kB / 412.9 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.2787, allocations: 15.88 kB / 412.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.2788, allocations: 43.58 kB / 412.9 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.279, allocations: 83.25 kB / 413 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001699/0.2792, allocations: 55.92 kB / 413.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000327/0.2795, allocations: 294.6 kB / 413.3 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.2797, allocations: 69.7 kB / 413.4 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.2798, allocations: 107.6 kB / 413.5 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.28, allocations: 119.5 kB / 413.6 MB, free: 14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.28, allocations: 24 kB / 413.7 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.687e-05/0.28, allocations: 20 kB / 413.7 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.876e-05/0.2801, allocations: 55.78 kB / 413.7 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.2802, allocations: 139.3 kB / 413.9 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.2805, allocations: 290.6 kB / 414.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2805, allocations: 0 / 414.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.2806, allocations: 0 / 414.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.2806, allocations: 4 kB / 414.2 MB, free: 13.48 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.0008132/0.2814, allocations: 0.5456 MB / 414.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.2814, allocations: 8.031 kB / 414.7 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.451e-05/0.2815, allocations: 32.75 kB / 414.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.2818, allocations: 252.6 kB / 415 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.2818, allocations: 20.88 kB / 415 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.015e-05/0.2819, allocations: 24.38 kB / 415 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003842/0.2823, allocations: 240 kB / 415.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.2823, allocations: 4.188 kB / 415.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.2823, allocations: 11.94 kB / 415.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.2823, allocations: 8 kB / 415.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/0.2826, allocations: 167.8 kB / 415.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.2836, allocations: 0.7971 MB / 416.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004955/0.2841, allocations: 279.8 kB / 416.5 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/0.2844, allocations: 126.7 kB / 416.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.2844, allocations: 7.938 kB / 416.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.2844, allocations: 42.56 kB / 416.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.423e-06/0.2844, allocations: 0 / 416.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.002735/0.2872, allocations: 1.947 MB / 418.6 MB, free: 8.516 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.833e-05/0.2872, allocations: 106.8 kB / 418.8 MB, free: 8.387 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.2874, allocations: 191.4 kB / 418.9 MB, free: 8.188 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.2874, allocations: 33.7 kB / 419 MB, free: 8.148 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.07e-05/0.2875, allocations: 128.9 kB / 419.1 MB, free: 8.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.2877, allocations: 178.5 kB / 419.3 MB, free: 7.844 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.2878, allocations: 74.14 kB / 419.3 MB, free: 7.766 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.2879, allocations: 342.8 kB / 419.7 MB, free: 7.422 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.2881, allocations: 84.84 kB / 419.8 MB, free: 7.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/0.2883, allocations: 158.3 kB / 419.9 MB, free: 7.164 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003867/0.2887, allocations: 274.6 kB / 420.2 MB, free: 6.879 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2887, allocations: 4 kB / 420.2 MB, free: 6.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005205/0.2892, allocations: 351.6 kB / 420.5 MB, free: 6.527 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.2892, allocations: 7.938 kB / 420.5 MB, free: 6.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2892, allocations: 4.094 kB / 420.5 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2892, allocations: 4 kB / 420.5 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003417/0.2896, allocations: 95.89 kB / 420.6 MB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.2896, allocations: 4 kB / 420.6 MB, free: 6.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.2897, allocations: 15.94 kB / 420.7 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.2897, allocations: 8 kB / 420.7 MB, free: 6.391 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.0001487/0.2899, allocations: 149.8 kB / 420.8 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.259e-05/0.29, allocations: 35.73 kB / 420.9 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.765e-05/0.29, allocations: 37.92 kB / 420.9 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.2901, allocations: 11.98 kB / 420.9 MB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2901, allocations: 0 / 420.9 MB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.2901, allocations: 3.984 kB / 420.9 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.2915, allocations: 1.054 MB / 422 MB, free: 5.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.2915, allocations: 4 kB / 422 MB, free: 5.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/0.2919, allocations: 87.89 kB / 422 MB, free: 4.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.2919, allocations: 7.938 kB / 422.1 MB, free: 4.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.2919, allocations: 16.75 kB / 422.1 MB, free: 4.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.2919, allocations: 8 kB / 422.1 MB, free: 4.887 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.2919, allocations: 7.938 kB / 422.1 MB, free: 4.879 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007911/0.2927, allocations: 0.7211 MB / 422.8 MB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.854e-05/0.2928, allocations: 104.9 kB / 422.9 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.236e-05/0.2928, allocations: 16.19 kB / 422.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.293, allocations: 12 kB / 422.9 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.11e-05/0.2931, allocations: 39.89 kB / 423 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.2931, allocations: 12 kB / 423 MB, free: 3.914 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.2933, allocations: 144.2 kB / 423.1 MB, free: 3.773 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2933, allocations: 0 / 423.1 MB, free: 3.773 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004464/0.2937, allocations: 72 kB / 423.2 MB, free: 3.703 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.0001531/0.2939, allocations: 119.1 kB / 423.3 MB, free: 3.574 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004753/0.2943, allocations: 254.4 kB / 423.6 MB, free: 3.328 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2943, allocations: 0 / 423.6 MB, free: 3.328 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.2945, allocations: 139.7 kB / 423.7 MB, free: 3.191 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006814/0.2952, allocations: 68.69 kB / 423.8 MB, free: 3.125 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.2969, allocations: 0.9107 MB / 424.7 MB, free: 2.156 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005053/0.2974, allocations: 0.7721 MB / 425.5 MB, free: 1.355 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000126/0.2975, allocations: 34.95 kB / 425.5 MB, free: 1.316 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.434e-05/0.2976, allocations: 31.44 kB / 425.5 MB, free: 1.285 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2976, allocations: 0 / 425.5 MB, free: 1.285 MB / 334.1 MB Notification: Performance of Templates: time 0.007578/0.3052, allocations: 3.066 MB / 428.6 MB, free: 14.25 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches