Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008687/0.0008687, allocations: 177.5 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.312/1.312, allocations: 205.6 MB / 223.7 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000743/0.0007436, allocations: 91.94 kB / 272.1 MB, free: 8.125 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002937/0.0002936, allocations: 4 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2239, allocations: 47.58 MB / 376.6 MB, free: 45.6 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002065/0.226, allocations: 2.017 MB / 378.6 MB, free: 44.01 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003849/0.2264, allocations: 241.5 kB / 378.8 MB, free: 43.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.2265, allocations: 9.281 kB / 378.9 MB, free: 43.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.2267, allocations: 31.92 kB / 378.9 MB, free: 43.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.2268, allocations: 64.09 kB / 378.9 MB, free: 43.72 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.227, allocations: 46.2 kB / 379 MB, free: 43.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002908/0.2273, allocations: 285.9 kB / 379.3 MB, free: 43.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002227/0.2275, allocations: 89.55 kB / 379.4 MB, free: 43.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.2276, allocations: 89.53 kB / 379.4 MB, free: 43.42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.2278, allocations: 106.9 kB / 379.5 MB, free: 43.35 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.469e-05/0.2278, allocations: 12.56 kB / 379.6 MB, free: 43.35 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.669e-05/0.2279, allocations: 12.88 kB / 379.6 MB, free: 43.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.357e-05/0.2279, allocations: 43.11 kB / 379.6 MB, free: 43.31 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.2281, allocations: 149 kB / 379.8 MB, free: 43.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002693/0.2284, allocations: 271.1 kB / 380 MB, free: 43.01 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2284, allocations: 0 / 380 MB, free: 43.01 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.2284, allocations: 0 / 380 MB, free: 43.01 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.2284, allocations: 5.281 kB / 380 MB, free: 43 MB / 298.7 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.0007359/0.2291, allocations: 0.4964 MB / 380.5 MB, free: 42.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.2292, allocations: 10.03 kB / 380.5 MB, free: 42.53 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.55e-05/0.2293, allocations: 27.56 kB / 380.6 MB, free: 42.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.2295, allocations: 247.7 kB / 380.8 MB, free: 42.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.2296, allocations: 18.62 kB / 380.8 MB, free: 42.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.11e-05/0.2296, allocations: 27.88 kB / 380.9 MB, free: 42.24 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004137/0.23, allocations: 238.9 kB / 381.1 MB, free: 42.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.2301, allocations: 13.47 kB / 381.1 MB, free: 42.06 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.2301, allocations: 10.69 kB / 381.1 MB, free: 42.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.2301, allocations: 6.625 kB / 381.1 MB, free: 42.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002538/0.2304, allocations: 163.6 kB / 381.3 MB, free: 41.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008485/0.2312, allocations: 0.7962 MB / 382.1 MB, free: 41.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000466/0.2317, allocations: 292.6 kB / 382.4 MB, free: 41.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/0.232, allocations: 130.5 kB / 382.5 MB, free: 41.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.232, allocations: 3.75 kB / 382.5 MB, free: 41.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.232, allocations: 40.95 kB / 382.5 MB, free: 40.97 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 1.663e-06/0.232, allocations: 5.125 kB / 382.5 MB, free: 40.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.00229/0.2343, allocations: 1.942 MB / 384.5 MB, free: 39.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.2344, allocations: 107.1 kB / 384.6 MB, free: 39.12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.2345, allocations: 186.9 kB / 384.8 MB, free: 38.97 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.2346, allocations: 36.08 kB / 384.8 MB, free: 38.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.456e-05/0.2346, allocations: 141.7 kB / 384.9 MB, free: 38.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.564e-05/0.2347, allocations: 163.9 kB / 385.1 MB, free: 38.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.386e-05/0.2347, allocations: 10.44 kB / 385.1 MB, free: 38.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.441e-05/0.2348, allocations: 337.6 kB / 385.4 MB, free: 38.31 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.235, allocations: 83.34 kB / 385.5 MB, free: 38.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.2352, allocations: 153.9 kB / 385.7 MB, free: 38.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000359/0.2355, allocations: 283.2 kB / 385.9 MB, free: 37.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2355, allocations: 0 / 385.9 MB, free: 37.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004766/0.236, allocations: 340.4 kB / 386.3 MB, free: 37.81 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.236, allocations: 8.969 kB / 386.3 MB, free: 37.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2361, allocations: 6.156 kB / 386.3 MB, free: 37.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.2361, allocations: 3.469 kB / 386.3 MB, free: 37.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/0.2364, allocations: 90.72 kB / 386.4 MB, free: 37.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.2364, allocations: 7.188 kB / 386.4 MB, free: 37.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.2365, allocations: 15.27 kB / 386.4 MB, free: 37.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.2366, allocations: 11.28 kB / 386.4 MB, free: 37.77 MB / 298.7 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.0001121/0.2367, allocations: 146.5 kB / 386.6 MB, free: 37.63 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.655e-05/0.2368, allocations: 30.09 kB / 386.6 MB, free: 37.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.828e-05/0.2369, allocations: 38.53 kB / 386.6 MB, free: 37.58 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.383e-06/0.2369, allocations: 10.77 kB / 386.6 MB, free: 37.58 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.2369, allocations: 0 / 386.6 MB, free: 37.58 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.2369, allocations: 1.531 kB / 386.6 MB, free: 37.58 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/0.2381, allocations: 1.062 MB / 387.7 MB, free: 36.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.2381, allocations: 2.781 kB / 387.7 MB, free: 36.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003371/0.2384, allocations: 96.52 kB / 387.8 MB, free: 36.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.2384, allocations: 7.938 kB / 387.8 MB, free: 36.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.2385, allocations: 12 kB / 387.8 MB, free: 36.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.309e-06/0.2385, allocations: 11.94 kB / 387.8 MB, free: 36.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2385, allocations: 0 / 387.8 MB, free: 36.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005434/0.239, allocations: 0.7248 MB / 388.6 MB, free: 35.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.219e-05/0.2391, allocations: 96.83 kB / 388.6 MB, free: 35.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.2391, allocations: 23.98 kB / 388.7 MB, free: 35.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.2393, allocations: 16.06 kB / 388.7 MB, free: 35.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.2394, allocations: 27.91 kB / 388.7 MB, free: 35.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.2394, allocations: 16 kB / 388.7 MB, free: 35.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.694e-05/0.2395, allocations: 144.2 kB / 388.9 MB, free: 35.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2395, allocations: 0 / 388.9 MB, free: 35.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003608/0.2398, allocations: 75.94 kB / 388.9 MB, free: 35.41 MB / 298.7 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 9.066e-05/0.2399, allocations: 119.1 kB / 389.1 MB, free: 35.28 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003362/0.2403, allocations: 251.7 kB / 389.3 MB, free: 35.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2403, allocations: 4 kB / 389.3 MB, free: 35.03 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.2404, allocations: 148.8 kB / 389.5 MB, free: 34.89 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006677/0.2411, allocations: 55.97 kB / 389.5 MB, free: 34.83 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.2422, allocations: 1.127 MB / 390.6 MB, free: 33.64 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001698/0.2424, allocations: 0.7723 MB / 391.4 MB, free: 32.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001123/0.2425, allocations: 30.97 kB / 391.4 MB, free: 32.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.995e-05/0.2426, allocations: 27.44 kB / 391.5 MB, free: 32.79 MB / 298.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2426, allocations: 4 kB / 391.5 MB, free: 32.79 MB / 298.7 MB Notification: Performance of Templates: time 0.004795/0.2474, allocations: 2.822 MB / 394.3 MB, free: 29.98 MB / 298.7 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","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches