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.001794/0.001794, 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.002268/0.002268, allocations: 202.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.993/1.993, allocations: 227.4 MB / 247.6 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 63.89 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3012, allocations: 50.53 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.004983/0.3062, allocations: 2.432 MB / 412.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007344/0.307, allocations: 235.1 kB / 412.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.3072, allocations: 8 kB / 412.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.3074, allocations: 51.5 kB / 412.6 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.3077, allocations: 87.2 kB / 412.7 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.3079, allocations: 55.92 kB / 412.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004322/0.3084, allocations: 286.6 kB / 413.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002814/0.3087, allocations: 105.7 kB / 413.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.3088, allocations: 103.7 kB / 413.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.3091, allocations: 119.5 kB / 413.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.073e-05/0.3091, allocations: 20 kB / 413.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.703e-05/0.3092, allocations: 24 kB / 413.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.495e-05/0.3093, allocations: 55.78 kB / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.3094, allocations: 127.3 kB / 413.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004541/0.3099, allocations: 304 kB / 413.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3099, allocations: 0 / 413.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3099, allocations: 4 kB / 413.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.31, allocations: 0 / 413.9 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.001021/0.311, allocations: 0.5342 MB / 414.4 MB, free: 13.01 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.311, allocations: 8.031 kB / 414.4 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.94e-05/0.3111, allocations: 28.66 kB / 414.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004541/0.3116, allocations: 252.4 kB / 414.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.3116, allocations: 20.94 kB / 414.7 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-05/0.3117, allocations: 24.38 kB / 414.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005001/0.3122, allocations: 240 kB / 415 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/0.3123, allocations: 8.031 kB / 415 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.3123, allocations: 15.94 kB / 415 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.3123, allocations: 4 kB / 415 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003554/0.3127, allocations: 159.9 kB / 415.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.314, allocations: 0.797 MB / 416 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006889/0.3148, allocations: 299.7 kB / 416.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003209/0.3151, allocations: 138.7 kB / 416.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.3151, allocations: 11.92 kB / 416.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.974e-05/0.3152, allocations: 38.5 kB / 416.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 2.706e-06/0.3152, allocations: 4 kB / 416.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.003662/0.3189, allocations: 1.931 MB / 418.4 MB, free: 8.633 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.131e-05/0.319, allocations: 118.8 kB / 418.5 MB, free: 8.492 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.3193, allocations: 187.3 kB / 418.7 MB, free: 8.297 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.3193, allocations: 33.7 kB / 418.7 MB, free: 8.258 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.3194, allocations: 140.7 kB / 418.9 MB, free: 8.117 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.3196, allocations: 161.6 kB / 419 MB, free: 7.957 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.3198, allocations: 74.14 kB / 419.1 MB, free: 7.879 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.32, allocations: 334.8 kB / 419.4 MB, free: 7.543 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.3202, allocations: 88.84 kB / 419.5 MB, free: 7.457 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/0.3205, allocations: 158.3 kB / 419.7 MB, free: 7.281 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005645/0.3211, allocations: 268.3 kB / 419.9 MB, free: 7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3211, allocations: 0 / 419.9 MB, free: 7 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007453/0.3218, allocations: 348 kB / 420.3 MB, free: 6.656 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.3219, allocations: 16.03 kB / 420.3 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.3219, allocations: 0 / 420.3 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/0.3219, allocations: 8.031 kB / 420.3 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005234/0.3224, allocations: 95.83 kB / 420.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.3225, allocations: 4.938 kB / 420.4 MB, free: 6.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.3227, allocations: 8 kB / 420.4 MB, free: 6.527 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.3227, allocations: 16 kB / 420.4 MB, free: 6.512 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.0001949/0.3229, allocations: 149.7 kB / 420.6 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.323, allocations: 31.66 kB / 420.6 MB, free: 6.324 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.3232, allocations: 41.86 kB / 420.6 MB, free: 6.285 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.3232, allocations: 7.938 kB / 420.6 MB, free: 6.277 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.3232, allocations: 4 kB / 420.6 MB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.3232, allocations: 3.984 kB / 420.6 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00202/0.3252, allocations: 1.043 MB / 421.7 MB, free: 5.141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.3253, allocations: 4 kB / 421.7 MB, free: 5.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005932/0.3259, allocations: 91.89 kB / 421.8 MB, free: 5.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.485e-05/0.3259, allocations: 12.16 kB / 421.8 MB, free: 5.035 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.202e-05/0.3259, allocations: 12 kB / 421.8 MB, free: 5.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/0.3259, allocations: 4 kB / 421.8 MB, free: 5.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/0.326, allocations: 4 kB / 421.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.3271, allocations: 0.7249 MB / 422.5 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.3272, allocations: 104.8 kB / 422.6 MB, free: 4.125 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.719e-05/0.3272, allocations: 8.062 kB / 422.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002941/0.3275, allocations: 16 kB / 422.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.884e-05/0.3276, allocations: 39.83 kB / 422.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.3276, allocations: 16.12 kB / 422.7 MB, free: 4.047 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.3278, allocations: 140.2 kB / 422.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3278, allocations: 0 / 422.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006667/0.3285, allocations: 72 kB / 422.9 MB, free: 3.84 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.0002087/0.3287, allocations: 114.8 kB / 423 MB, free: 3.719 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000624/0.3293, allocations: 275.7 kB / 423.3 MB, free: 3.449 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3293, allocations: 3.938 kB / 423.3 MB, free: 3.445 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002905/0.3296, allocations: 143.7 kB / 423.4 MB, free: 3.305 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.3307, allocations: 77.73 kB / 423.5 MB, free: 3.23 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.3328, allocations: 0.9297 MB / 424.5 MB, free: 2.234 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000456/0.3333, allocations: 0.7644 MB / 425.2 MB, free: 1.441 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.3334, allocations: 35.44 kB / 425.3 MB, free: 1.406 MB / 334.1 MB Notification: Performance of SimCode: time 9.81e-07/0.3334, allocations: 0 / 425.3 MB, free: 1.406 MB / 334.1 MB Notification: Performance of Templates: time 0.007009/0.3404, allocations: 3.512 MB / 428.8 MB, free: 13.91 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