Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 114.5 kB / 17.73 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002025/0.002025, allocations: 187 kB / 18.67 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 47.94 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1062, allocations: 46.62 MB / 375.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.004174/0.1104, allocations: 2.409 MB / 377.5 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008039/0.1113, allocations: 235.1 kB / 377.8 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002434/0.1115, allocations: 4 kB / 377.8 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.1118, allocations: 43.52 kB / 377.8 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.112, allocations: 95.25 kB / 377.9 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002157/0.1123, allocations: 51.94 kB / 378 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003806/0.1127, allocations: 294.6 kB / 378.2 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002397/0.1129, allocations: 109.7 kB / 378.4 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.1131, allocations: 107.6 kB / 378.5 MB, free: 1.242 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.1133, allocations: 115.5 kB / 378.6 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.234e-05/0.1133, allocations: 23.94 kB / 378.6 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.402e-05/0.1134, allocations: 24 kB / 378.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.988e-05/0.1134, allocations: 51.84 kB / 378.7 MB, free: 1.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.1136, allocations: 131.3 kB / 378.8 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003285/0.1139, allocations: 291 kB / 379.1 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.1139, allocations: 0 / 379.1 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.392e-06/0.1139, allocations: 0 / 379.1 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.1139, allocations: 3.938 kB / 379.1 MB, free: 0.6133 MB / 318.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.0009144/0.1149, allocations: 0.5458 MB / 379.6 MB, free: 16 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.1149, allocations: 8.031 kB / 379.6 MB, free: 8 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2021/0.317, allocations: 24.52 kB / 379.7 MB, free: 13.19 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004712/0.3175, allocations: 242.4 kB / 379.9 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.3176, allocations: 19.19 kB / 379.9 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.32e-05/0.3176, allocations: 28.58 kB / 379.9 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004906/0.3181, allocations: 242.9 kB / 380.2 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.3182, allocations: 8.25 kB / 380.2 MB, free: 12.92 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.3182, allocations: 13.88 kB / 380.2 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.3182, allocations: 8.844 kB / 380.2 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003274/0.3185, allocations: 161.2 kB / 380.4 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.3197, allocations: 0.7924 MB / 381.2 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005383/0.3202, allocations: 294.3 kB / 381.4 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002486/0.3205, allocations: 129.7 kB / 381.6 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.3205, allocations: 6.797 kB / 381.6 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.3206, allocations: 40.84 kB / 381.6 MB, free: 12.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 2.564e-06/0.3206, allocations: 0 / 381.6 MB, free: 12.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.002666/0.3233, allocations: 1.951 MB / 383.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.3233, allocations: 111.6 kB / 383.7 MB, free: 10.62 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.3235, allocations: 188.5 kB / 383.9 MB, free: 10.49 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.3236, allocations: 34.06 kB / 383.9 MB, free: 10.45 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.264e-05/0.3236, allocations: 139.2 kB / 384 MB, free: 10.33 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.157e-05/0.3237, allocations: 160.5 kB / 384.2 MB, free: 10.21 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.383e-05/0.3238, allocations: 75.69 kB / 384.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.601e-05/0.3239, allocations: 338.6 kB / 384.6 MB, free: 9.84 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.3241, allocations: 90.86 kB / 384.7 MB, free: 9.809 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.3242, allocations: 159.5 kB / 384.8 MB, free: 9.703 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.3246, allocations: 274.3 kB / 385.1 MB, free: 9.543 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3246, allocations: 0 / 385.1 MB, free: 9.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005526/0.3252, allocations: 343.4 kB / 385.4 MB, free: 9.391 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.3252, allocations: 14.72 kB / 385.5 MB, free: 9.383 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.3252, allocations: 4.25 kB / 385.5 MB, free: 9.383 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.3252, allocations: 5.859 kB / 385.5 MB, free: 9.383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003519/0.3256, allocations: 91.09 kB / 385.6 MB, free: 9.375 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.3256, allocations: 5.75 kB / 385.6 MB, free: 9.375 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.3257, allocations: 6.594 kB / 385.6 MB, free: 9.371 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.3258, allocations: 15.31 kB / 385.6 MB, free: 9.367 MB / 318.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.0001316/0.3259, allocations: 153 kB / 385.7 MB, free: 9.223 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.675e-05/0.326, allocations: 30.03 kB / 385.8 MB, free: 9.207 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.403e-05/0.3261, allocations: 40.38 kB / 385.8 MB, free: 9.172 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.3261, allocations: 5.531 kB / 385.8 MB, free: 9.172 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/0.3261, allocations: 2.797 kB / 385.8 MB, free: 9.172 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.3262, allocations: 4.203 kB / 385.8 MB, free: 9.172 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.3275, allocations: 1.05 MB / 386.9 MB, free: 8.422 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.3275, allocations: 6.344 kB / 386.9 MB, free: 8.418 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003849/0.3279, allocations: 88.39 kB / 387 MB, free: 8.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/0.3279, allocations: 10.56 kB / 387 MB, free: 8.406 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/0.328, allocations: 17.44 kB / 387 MB, free: 8.398 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/0.328, allocations: 5.078 kB / 387 MB, free: 8.398 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.328, allocations: 7.844 kB / 387 MB, free: 8.395 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007757/0.3288, allocations: 0.7225 MB / 387.7 MB, free: 7.871 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.574e-05/0.3289, allocations: 111.7 kB / 387.8 MB, free: 7.754 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.296e-05/0.3289, allocations: 11.14 kB / 387.8 MB, free: 7.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.3291, allocations: 15.44 kB / 387.9 MB, free: 7.738 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.3292, allocations: 31.86 kB / 387.9 MB, free: 7.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.3292, allocations: 11.81 kB / 387.9 MB, free: 7.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001038/0.3293, allocations: 146.6 kB / 388 MB, free: 7.629 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3293, allocations: 0 / 388 MB, free: 7.629 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004532/0.3298, allocations: 71.66 kB / 388.1 MB, free: 7.617 MB / 318.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.0001039/0.3299, allocations: 118.3 kB / 388.2 MB, free: 7.512 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004367/0.3303, allocations: 269.7 kB / 388.5 MB, free: 7.426 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3304, allocations: 0 / 388.5 MB, free: 7.426 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.3306, allocations: 144.5 kB / 388.6 MB, free: 7.379 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006774/0.3312, allocations: 78.84 kB / 388.7 MB, free: 7.348 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.3326, allocations: 0.9126 MB / 389.6 MB, free: 6.699 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.3329, allocations: 0.764 MB / 390.4 MB, free: 5.996 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001378/0.333, allocations: 35.42 kB / 390.4 MB, free: 5.984 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.136e-05/0.3331, allocations: 27.88 kB / 390.4 MB, free: 5.977 MB / 318.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3331, allocations: 0 / 390.4 MB, free: 5.977 MB / 318.1 MB Notification: Performance of Templates: time 0.008309/0.3414, allocations: 3.054 MB / 393.5 MB, free: 5.719 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches