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.001466/0.001466, allocations: 109.4 kB / 18.4 MB, free: 4.695 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.001366/0.001367, allocations: 179.1 kB / 19.33 MB, free: 3.777 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.391/1.391, allocations: 205.1 MB / 225.2 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.001254/0.001254, allocations: 51.91 kB / 329.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08586/0.08712, allocations: 46.6 MB / 375.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003845/0.09103, allocations: 2.409 MB / 378.2 MB, free: 2.188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007046/0.09177, allocations: 239.1 kB / 378.4 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002439/0.09203, allocations: 8 kB / 378.4 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.09232, allocations: 43.58 kB / 378.5 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002552/0.09258, allocations: 87.25 kB / 378.6 MB, free: 1.816 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.09283, allocations: 55.88 kB / 378.6 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004061/0.09325, allocations: 286.6 kB / 378.9 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002479/0.0935, allocations: 109.7 kB / 379 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.09369, allocations: 115.6 kB / 379.1 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.09389, allocations: 115.5 kB / 379.2 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.512e-05/0.09395, allocations: 20 kB / 379.3 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.282e-05/0.09401, allocations: 24 kB / 379.3 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.99e-05/0.09406, allocations: 51.84 kB / 379.3 MB, free: 1.055 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.09421, allocations: 135.3 kB / 379.5 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003247/0.09454, allocations: 287 kB / 379.7 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.09456, allocations: 3.938 kB / 379.8 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.09456, allocations: 0 / 379.8 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.09458, allocations: 3.938 kB / 379.8 MB, free: 0.6328 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.0008428/0.09543, allocations: 0.5419 MB / 380.3 MB, free: 40 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.09548, allocations: 8.031 kB / 380.3 MB, free: 32 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.363e-05/0.09556, allocations: 28.66 kB / 380.3 MB, free: 4 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1871/0.2827, allocations: 241.2 kB / 380.6 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.2828, allocations: 19.69 kB / 380.6 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.284e-05/0.2828, allocations: 29.73 kB / 380.6 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000466/0.2833, allocations: 245.6 kB / 380.9 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.2834, allocations: 4.484 kB / 380.9 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.2834, allocations: 10.22 kB / 380.9 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.2834, allocations: 8.938 kB / 380.9 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/0.2837, allocations: 162 kB / 381 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.2848, allocations: 0.7881 MB / 381.8 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004851/0.2853, allocations: 307.5 kB / 382.1 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/0.2855, allocations: 126 kB / 382.2 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.2856, allocations: 7.656 kB / 382.3 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.2856, allocations: 41.59 kB / 382.3 MB, free: 12.35 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 1.984e-06/0.2856, allocations: 0 / 382.3 MB, free: 12.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.002891/0.2885, allocations: 1.942 MB / 384.2 MB, free: 10.79 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.2886, allocations: 115.3 kB / 384.4 MB, free: 10.65 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.2888, allocations: 184.6 kB / 384.5 MB, free: 10.53 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.2888, allocations: 35.02 kB / 384.6 MB, free: 10.49 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.154e-05/0.2889, allocations: 140.4 kB / 384.7 MB, free: 10.37 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.2891, allocations: 166.5 kB / 384.9 MB, free: 10.24 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.2892, allocations: 72.7 kB / 384.9 MB, free: 10.2 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.259e-05/0.2893, allocations: 338.1 kB / 385.3 MB, free: 9.875 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.2895, allocations: 87.66 kB / 385.4 MB, free: 9.848 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.2897, allocations: 158.2 kB / 385.5 MB, free: 9.746 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003479/0.29, allocations: 279.4 kB / 385.8 MB, free: 9.578 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.29, allocations: 4.766 kB / 385.8 MB, free: 9.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000467/0.2905, allocations: 333.4 kB / 386.1 MB, free: 9.434 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.2905, allocations: 7.391 kB / 386.1 MB, free: 9.434 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.2906, allocations: 2.562 kB / 386.1 MB, free: 9.434 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.2906, allocations: 7.062 kB / 386.1 MB, free: 9.434 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/0.2909, allocations: 104.3 kB / 386.2 MB, free: 9.414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.2909, allocations: 4.984 kB / 386.2 MB, free: 9.414 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.2911, allocations: 13.81 kB / 386.2 MB, free: 9.406 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.2911, allocations: 15.44 kB / 386.3 MB, free: 9.402 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.0001166/0.2912, allocations: 143.7 kB / 386.4 MB, free: 9.266 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-05/0.2913, allocations: 31.12 kB / 386.4 MB, free: 9.25 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.365e-05/0.2914, allocations: 36.36 kB / 386.5 MB, free: 9.219 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.2914, allocations: 9.281 kB / 386.5 MB, free: 9.215 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.2914, allocations: 3.734 kB / 386.5 MB, free: 9.215 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.2914, allocations: 5.922 kB / 386.5 MB, free: 9.211 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.2927, allocations: 1.057 MB / 387.5 MB, free: 8.457 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.2927, allocations: 3.25 kB / 387.5 MB, free: 8.457 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003516/0.2931, allocations: 92.39 kB / 387.6 MB, free: 8.445 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.2931, allocations: 6.75 kB / 387.6 MB, free: 8.445 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.2931, allocations: 12.12 kB / 387.7 MB, free: 8.438 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.2931, allocations: 10.44 kB / 387.7 MB, free: 8.434 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.2931, allocations: 6.188 kB / 387.7 MB, free: 8.434 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006672/0.2938, allocations: 0.719 MB / 388.4 MB, free: 7.91 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.94e-05/0.2939, allocations: 100.2 kB / 388.5 MB, free: 7.805 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.807e-05/0.2939, allocations: 18.55 kB / 388.5 MB, free: 7.793 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.2941, allocations: 9.031 kB / 388.5 MB, free: 7.789 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.2942, allocations: 35.47 kB / 388.6 MB, free: 7.777 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.2942, allocations: 15.94 kB / 388.6 MB, free: 7.773 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001029/0.2943, allocations: 143.5 kB / 388.7 MB, free: 7.676 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2943, allocations: 0 / 388.7 MB, free: 7.676 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004455/0.2948, allocations: 72.47 kB / 388.8 MB, free: 7.664 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.0001295/0.2949, allocations: 116.5 kB / 388.9 MB, free: 7.559 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004623/0.2954, allocations: 278.7 kB / 389.2 MB, free: 7.465 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.2954, allocations: 0 / 389.2 MB, free: 7.465 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.2956, allocations: 142.7 kB / 389.3 MB, free: 7.422 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007038/0.2963, allocations: 65.78 kB / 389.4 MB, free: 7.398 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.2977, allocations: 0.9431 MB / 390.3 MB, free: 6.719 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.298, allocations: 0.7678 MB / 391.1 MB, free: 6.012 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.602e-05/0.2981, allocations: 29.06 kB / 391.1 MB, free: 6.004 MB / 318.1 MB Notification: Performance of SimCode: time 7.82e-07/0.2981, allocations: 0 / 391.1 MB, free: 6.004 MB / 318.1 MB Notification: Performance of Templates: time 0.006953/0.305, allocations: 3.48 MB / 394.6 MB, free: 5.621 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/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