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.001256/0.001256, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001497/0.001497, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 67.88 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3028, allocations: 50.54 MB / 409.2 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003799/0.3067, allocations: 2.428 MB / 411.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007494/0.3074, allocations: 239.1 kB / 411.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.3077, allocations: 11.88 kB / 411.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001941/0.3079, allocations: 47.56 kB / 412 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002111/0.3081, allocations: 83.27 kB / 412 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.3083, allocations: 55.92 kB / 412.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003463/0.3087, allocations: 290.6 kB / 412.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.3089, allocations: 101.7 kB / 412.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.309, allocations: 107.6 kB / 412.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.3092, allocations: 115.4 kB / 412.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.344e-05/0.3093, allocations: 27.98 kB / 412.7 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.192e-05/0.3093, allocations: 20 kB / 412.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.93e-05/0.3094, allocations: 55.78 kB / 412.8 MB, free: 14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.3095, allocations: 127.4 kB / 412.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003275/0.3099, allocations: 296 kB / 413.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3099, allocations: 0 / 413.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3099, allocations: 0 / 413.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.3099, allocations: 4 kB / 413.2 MB, free: 13.59 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.0008517/0.3108, allocations: 0.5419 MB / 413.8 MB, free: 13 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.3108, allocations: 8.031 kB / 413.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.091e-05/0.3109, allocations: 28.66 kB / 413.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.3112, allocations: 252.5 kB / 414 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.3112, allocations: 16.94 kB / 414.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.19e-05/0.3113, allocations: 24.38 kB / 414.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000407/0.3117, allocations: 244 kB / 414.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.3117, allocations: 8.094 kB / 414.3 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.611e-05/0.3118, allocations: 11.94 kB / 414.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.3118, allocations: 8 kB / 414.3 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002729/0.3121, allocations: 159.9 kB / 414.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.3132, allocations: 0.7931 MB / 415.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005296/0.3137, allocations: 291.7 kB / 415.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002631/0.314, allocations: 134.7 kB / 415.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.314, allocations: 7.938 kB / 415.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.3141, allocations: 42.5 kB / 415.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.823e-06/0.3141, allocations: 0 / 415.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.00277/0.3169, allocations: 1.943 MB / 417.7 MB, free: 8.629 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/0.3169, allocations: 110.8 kB / 417.8 MB, free: 8.496 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.3171, allocations: 187.3 kB / 418 MB, free: 8.301 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.3172, allocations: 33.7 kB / 418 MB, free: 8.262 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.3173, allocations: 140.7 kB / 418.2 MB, free: 8.121 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.3174, allocations: 161.7 kB / 418.3 MB, free: 7.961 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.3175, allocations: 70.14 kB / 418.4 MB, free: 7.887 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3177, allocations: 338.8 kB / 418.7 MB, free: 7.547 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.3179, allocations: 92.84 kB / 418.8 MB, free: 7.457 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.3181, allocations: 154.3 kB / 419 MB, free: 7.285 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003739/0.3184, allocations: 278.8 kB / 419.2 MB, free: 6.996 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3185, allocations: 4 kB / 419.2 MB, free: 6.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004815/0.3189, allocations: 343.7 kB / 419.6 MB, free: 6.652 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.319, allocations: 12.88 kB / 419.6 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.319, allocations: 4.094 kB / 419.6 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.319, allocations: 7.984 kB / 419.6 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003333/0.3193, allocations: 95.84 kB / 419.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.3194, allocations: 7.984 kB / 419.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.3195, allocations: 4 kB / 419.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.3195, allocations: 16 kB / 419.7 MB, free: 6.508 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.0001344/0.3196, allocations: 153.7 kB / 419.9 MB, free: 6.348 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.667e-05/0.3198, allocations: 35.64 kB / 419.9 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.312e-05/0.3198, allocations: 33.88 kB / 419.9 MB, free: 6.281 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.3199, allocations: 15.94 kB / 420 MB, free: 6.266 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.3199, allocations: 0 / 420 MB, free: 6.266 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.3199, allocations: 3.984 kB / 420 MB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.3213, allocations: 1.043 MB / 421 MB, free: 5.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3213, allocations: 0 / 421 MB, free: 5.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003787/0.3217, allocations: 95.83 kB / 421.1 MB, free: 5.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/0.3217, allocations: 7.984 kB / 421.1 MB, free: 5.031 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.3217, allocations: 16.27 kB / 421.1 MB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.371e-06/0.3217, allocations: 8 kB / 421.1 MB, free: 5.008 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3218, allocations: 0 / 421.1 MB, free: 5.008 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007344/0.3225, allocations: 0.7249 MB / 421.9 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.623e-05/0.3226, allocations: 104.8 kB / 422 MB, free: 4.117 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.455e-05/0.3226, allocations: 12 kB / 422 MB, free: 4.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.3228, allocations: 12 kB / 422 MB, free: 4.094 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.3229, allocations: 39.83 kB / 422 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.3229, allocations: 16 kB / 422 MB, free: 4.039 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001297/0.3231, allocations: 140.2 kB / 422.2 MB, free: 3.902 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3231, allocations: 0 / 422.2 MB, free: 3.902 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004412/0.3235, allocations: 72 kB / 422.2 MB, free: 3.832 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.0001374/0.3237, allocations: 115.1 kB / 422.4 MB, free: 3.707 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000423/0.3241, allocations: 283.4 kB / 422.6 MB, free: 3.434 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.3241, allocations: 0 / 422.6 MB, free: 3.434 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.3243, allocations: 143.7 kB / 422.8 MB, free: 3.293 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006871/0.325, allocations: 73.05 kB / 422.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.3264, allocations: 0.8929 MB / 423.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.3267, allocations: 0.7683 MB / 424.5 MB, free: 1.473 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000125/0.3269, allocations: 42.89 kB / 424.5 MB, free: 1.426 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.094e-05/0.3269, allocations: 27.44 kB / 424.6 MB, free: 1.398 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.327, allocations: 0 / 424.6 MB, free: 1.398 MB / 334.1 MB Notification: Performance of Templates: time 0.006465/0.3334, allocations: 3.039 MB / 427.6 MB, free: 14.39 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/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_trunk_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches