Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009181/0.0009181, allocations: 179.2 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.412/1.412, allocations: 205.6 MB / 223.7 MB, free: 8.945 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.0007982/0.0007982, allocations: 88.09 kB / 272.1 MB, free: 8.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000265/0.000265, allocations: 8 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2257, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.02197/0.2477, allocations: 31.56 MB / 408.2 MB, free: 16.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01692/0.2646, allocations: 10.75 MB / 418.9 MB, free: 5.359 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006222/0.2709, allocations: 143.6 kB / 419 MB, free: 5.219 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008945/0.2718, allocations: 382.1 kB / 419.4 MB, free: 4.844 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003369/0.2752, allocations: 1.538 MB / 421 MB, free: 3.301 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.2765, allocations: 0.6396 MB / 421.6 MB, free: 2.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004103/0.2806, allocations: 4.801 MB / 426.4 MB, free: 13.84 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005153/0.2858, allocations: 4.475 MB / 430.9 MB, free: 9.117 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/0.2875, allocations: 1.07 MB / 431.9 MB, free: 8.043 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001958/0.2895, allocations: 1.666 MB / 433.6 MB, free: 6.371 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003054/0.2898, allocations: 127.9 kB / 433.7 MB, free: 6.246 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001867/0.2917, allocations: 1.022 MB / 434.8 MB, free: 5.223 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001208/0.2929, allocations: 1.426 MB / 436.2 MB, free: 3.793 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001396/0.2943, allocations: 1.713 MB / 437.9 MB, free: 2.062 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004847/0.2992, allocations: 5.531 MB / 443.4 MB, free: 12.51 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2992, allocations: 4 kB / 443.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2992, allocations: 4 kB / 443.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.186e-05/0.2993, allocations: 0 / 443.4 MB, free: 12.5 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.005308/0.3046, allocations: 3.377 MB / 446.8 MB, free: 9.059 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.3047, allocations: 12.03 kB / 446.8 MB, free: 9.047 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005762/0.3104, allocations: 1.903 MB / 448.7 MB, free: 7.137 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003097/0.3136, allocations: 1.929 MB / 450.7 MB, free: 5.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/0.3137, allocations: 209.2 kB / 450.9 MB, free: 4.953 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000436/0.3142, allocations: 267.8 kB / 451.1 MB, free: 4.691 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01528/0.3295, allocations: 9.973 MB / 461.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.381e-05/0.3296, allocations: 47.53 kB / 461.1 MB, free: 9.996 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003347/0.3299, allocations: 131.9 kB / 461.3 MB, free: 9.867 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002841/0.3328, allocations: 1.852 MB / 463.1 MB, free: 8.012 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01676/0.3495, allocations: 8.521 MB / 471.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2457/0.5953, allocations: 36.84 MB / 0.4966 GB, free: 86.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008908/0.6042, allocations: 3.872 MB / 0.5003 GB, free: 85.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002493/0.6068, allocations: 1.808 MB / 0.5021 GB, free: 85.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009821/0.6166, allocations: 7.53 MB / 0.5095 GB, free: 81.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.6167, allocations: 49.2 kB / 0.5095 GB, free: 81.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=150): time 3.947e-06/0.6167, allocations: 0 / 0.5095 GB, free: 81.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=166): time 0.0449/0.6616, allocations: 17.39 MB / 0.5265 GB, free: 68.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.6617, allocations: 147.9 kB / 0.5266 GB, free: 68.51 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004406/0.6661, allocations: 3.454 MB / 0.53 GB, free: 65.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001786/0.6663, allocations: 50.33 kB / 0.5301 GB, free: 65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001131/0.6674, allocations: 2.74 MB / 0.5327 GB, free: 62.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004235/0.6679, allocations: 0.6376 MB / 0.5334 GB, free: 61.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.6681, allocations: 110.7 kB / 0.5335 GB, free: 61.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.6683, allocations: 0.5379 MB / 0.534 GB, free: 60.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002229/0.6705, allocations: 1.932 MB / 0.5359 GB, free: 59.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003215/0.6737, allocations: 5.351 MB / 0.5411 GB, free: 52.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006458/0.6802, allocations: 7.906 MB / 0.5488 GB, free: 42.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.657e-05/0.6803, allocations: 36 kB / 0.5489 GB, free: 42.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.01198/0.6923, allocations: 8.142 MB / 0.5568 GB, free: 34.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.047e-05/0.6924, allocations: 56 kB / 0.5569 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.152e-05/0.6925, allocations: 120 kB / 0.557 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003479/0.6959, allocations: 1.296 MB / 0.5582 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003265/0.6992, allocations: 1.267 MB / 0.5595 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006949/0.7062, allocations: 6.091 MB / 0.5654 GB, free: 25.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003745/0.71, allocations: 299.6 kB / 0.5657 GB, free: 25.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005241/0.7105, allocations: 343.8 kB / 0.566 GB, free: 24.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 36 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (685): * Single equations (assignments): 681 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,17,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00241/0.7129, allocations: 1.82 MB / 0.5678 GB, free: 23.01 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004752/0.7134, allocations: 307.9 kB / 0.5681 GB, free: 22.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006025/0.7194, allocations: 3.352 MB / 0.5714 GB, free: 19.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.413e-05/0.7195, allocations: 20 kB / 0.5714 GB, free: 19.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/0.7195, allocations: 11.94 kB / 0.5714 GB, free: 19.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.7195, allocations: 11.72 kB / 0.5714 GB, free: 19.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01301/0.7325, allocations: 7.6 MB / 0.5788 GB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.7326, allocations: 0 / 0.5788 GB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009834/0.7336, allocations: 235.7 kB / 0.5791 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003294/0.7369, allocations: 1.124 MB / 0.5802 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/0.737, allocations: 28 kB / 0.5802 GB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006314/0.7433, allocations: 5.715 MB / 0.5858 GB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.7433, allocations: 8.094 kB / 0.5858 GB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008166/0.7515, allocations: 5.693 MB / 0.5913 GB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001226/0.7527, allocations: 0.579 MB / 0.5919 GB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003137/0.7531, allocations: 24 kB / 0.5919 GB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.7542, allocations: 91.88 kB / 0.592 GB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002742/0.7545, allocations: 88.88 kB / 0.5921 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/0.7546, allocations: 51.28 kB / 0.5922 GB, free: 13.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003034/0.7577, allocations: 2.127 MB / 0.5942 GB, free: 11.72 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7577, allocations: 0 / 0.5942 GB, free: 11.72 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00376/0.7615, allocations: 0.9193 MB / 0.5951 GB, free: 10.8 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * 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 (129): * Single equations (assignments): 125 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003742/0.7618, allocations: 176.8 kB / 0.5953 GB, free: 10.62 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007516/0.7694, allocations: 4.751 MB / 0.5999 GB, free: 5.883 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.381e-06/0.7694, allocations: 4 kB / 0.5999 GB, free: 5.879 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002285/0.7717, allocations: 1.538 MB / 0.6014 GB, free: 4.328 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002238/0.7739, allocations: 347.2 kB / 0.6018 GB, free: 3.992 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01459/0.7885, allocations: 9.912 MB / 0.6115 GB, free: 10.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003282/0.7919, allocations: 2.87 MB / 0.6143 GB, free: 7.145 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004411/0.7963, allocations: 1.707 MB / 0.6159 GB, free: 5.434 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005496/0.7969, allocations: 215.4 kB / 0.6161 GB, free: 5.223 MB / 410.7 MB Notification: Performance of SimCode: time 1.312e-06/0.7969, allocations: 0 / 0.6161 GB, free: 5.223 MB / 410.7 MB Notification: Performance of Templates: time 0.0583/0.8552, allocations: 32.29 MB / 0.6477 GB, free: 5.039 MB / 442.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches