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.InitSpringConstant.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.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001333/0.001333, 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.312/1.312, 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.0007832/0.0007834, allocations: 82.44 kB / 272.1 MB, free: 8.125 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002748/0.000275, allocations: 8 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2289, allocations: 47.58 MB / 376.6 MB, free: 45.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.02284/0.2518, allocations: 31.5 MB / 408.1 MB, free: 16.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01705/0.2688, allocations: 10.63 MB / 418.7 MB, free: 5.559 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008576/0.2775, allocations: 151.6 kB / 418.9 MB, free: 5.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001539/0.2791, allocations: 370.2 kB / 419.2 MB, free: 5.047 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004902/0.284, allocations: 1.553 MB / 420.8 MB, free: 3.488 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.2854, allocations: 0.5577 MB / 421.4 MB, free: 2.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00496/0.2903, allocations: 4.766 MB / 426.1 MB, free: 14.15 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005395/0.2958, allocations: 3.8 MB / 429.9 MB, free: 10.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002502/0.2983, allocations: 1.066 MB / 431 MB, free: 9.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002806/0.3011, allocations: 1.607 MB / 432.6 MB, free: 7.477 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000817/0.302, allocations: 112 kB / 432.7 MB, free: 7.367 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002299/0.3043, allocations: 0.9281 MB / 433.6 MB, free: 6.438 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002062/0.3064, allocations: 1.414 MB / 435 MB, free: 5.02 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002744/0.3092, allocations: 1.678 MB / 436.7 MB, free: 3.324 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006963/0.3162, allocations: 5.422 MB / 442.1 MB, free: 13.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.3162, allocations: 0 / 442.1 MB, free: 13.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3162, allocations: 0 / 442.1 MB, free: 13.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002427/0.3165, allocations: 0 / 442.1 MB, free: 13.88 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.00688/0.3233, allocations: 3.309 MB / 445.5 MB, free: 10.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.3234, allocations: 12.03 kB / 445.5 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005934/0.3294, allocations: 1.821 MB / 447.3 MB, free: 8.664 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004062/0.3334, allocations: 1.974 MB / 449.3 MB, free: 6.629 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/0.3336, allocations: 184.8 kB / 449.4 MB, free: 6.445 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005593/0.3342, allocations: 255.8 kB / 449.7 MB, free: 6.195 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01313/0.3473, allocations: 8.419 MB / 458.1 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001029/0.3475, allocations: 39.69 kB / 458.2 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003169/0.3478, allocations: 123.9 kB / 458.3 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002572/0.3504, allocations: 1.699 MB / 460 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0129/0.3633, allocations: 7.067 MB / 467 MB, free: 4.176 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04093/0.4043, allocations: 34.17 MB / 0.4895 GB, free: 1.012 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1973/0.6017, allocations: 3.258 MB / 0.4926 GB, free: 109.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002146/0.6039, allocations: 1.472 MB / 0.4941 GB, free: 108.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006966/0.6109, allocations: 4.365 MB / 0.4983 GB, free: 106.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.936e-05/0.611, allocations: 52.38 kB / 0.4984 GB, free: 106.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=121): time 4.137e-06/0.611, allocations: 2.156 kB / 0.4984 GB, free: 106.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=129): time 0.0249/0.6359, allocations: 11.48 MB / 0.5096 GB, free: 101.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.636, allocations: 140.6 kB / 0.5097 GB, free: 101.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004299/0.6403, allocations: 3.701 MB / 0.5134 GB, free: 97.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002349/0.6406, allocations: 47.66 kB / 0.5134 GB, free: 97.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001494/0.6421, allocations: 2.751 MB / 0.5161 GB, free: 94.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005926/0.6427, allocations: 0.5152 MB / 0.5166 GB, free: 94.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.6429, allocations: 112.9 kB / 0.5167 GB, free: 94.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002493/0.6431, allocations: 0.5292 MB / 0.5172 GB, free: 93.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001914/0.645, allocations: 1.689 MB / 0.5189 GB, free: 92.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003037/0.6481, allocations: 5.102 MB / 0.5239 GB, free: 85.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006131/0.6542, allocations: 7.39 MB / 0.5311 GB, free: 76.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001008/0.6544, allocations: 36 kB / 0.5311 GB, free: 76.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01026/0.6647, allocations: 6.688 MB / 0.5376 GB, free: 69.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.781e-05/0.6648, allocations: 56 kB / 0.5377 GB, free: 69.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-05/0.6649, allocations: 124 kB / 0.5378 GB, free: 69.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005454/0.6654, allocations: 317.4 kB / 0.5381 GB, free: 69.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003481/0.6689, allocations: 1.244 MB / 0.5393 GB, free: 67.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/0.6709, allocations: 2.299 MB / 0.5416 GB, free: 65.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003817/0.6747, allocations: 280.1 kB / 0.5418 GB, free: 65.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005958/0.6753, allocations: 337 kB / 0.5422 GB, free: 64.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (668): * Single equations (assignments): 664 * 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 {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002419/0.6777, allocations: 1.789 MB / 0.5439 GB, free: 62.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005012/0.6782, allocations: 308 kB / 0.5442 GB, free: 62.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003845/0.6821, allocations: 2.356 MB / 0.5465 GB, free: 60.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-05/0.6822, allocations: 24.08 kB / 0.5465 GB, free: 60.28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-05/0.6822, allocations: 5.125 kB / 0.5465 GB, free: 60.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/0.6822, allocations: 7.969 kB / 0.5465 GB, free: 60.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009434/0.6917, allocations: 5.929 MB / 0.5523 GB, free: 54.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.598e-05/0.6917, allocations: 4.062 kB / 0.5523 GB, free: 54.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007573/0.6925, allocations: 167.8 kB / 0.5525 GB, free: 54.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001867/0.6944, allocations: 0.7186 MB / 0.5532 GB, free: 53.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/0.6945, allocations: 22.5 kB / 0.5532 GB, free: 53.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004431/0.6989, allocations: 4.448 MB / 0.5576 GB, free: 48.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.699, allocations: 15.97 kB / 0.5576 GB, free: 48.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005534/0.7045, allocations: 4.311 MB / 0.5618 GB, free: 44.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/0.7057, allocations: 0.5321 MB / 0.5623 GB, free: 43.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006104/0.7064, allocations: 23.98 kB / 0.5623 GB, free: 43.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/0.7077, allocations: 64.39 kB / 0.5624 GB, free: 43.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002084/0.7079, allocations: 72.44 kB / 0.5625 GB, free: 43.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.955e-05/0.708, allocations: 46.8 kB / 0.5625 GB, free: 43.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00288/0.7109, allocations: 2.299 MB / 0.5647 GB, free: 41.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7109, allocations: 0 / 0.5647 GB, free: 41.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003728/0.7146, allocations: 0.8255 MB / 0.5655 GB, free: 40.58 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * 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 {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003576/0.715, allocations: 156.4 kB / 0.5657 GB, free: 40.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00535/0.7204, allocations: 4.006 MB / 0.5696 GB, free: 36.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.7204, allocations: 0.75 kB / 0.5696 GB, free: 36.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.7216, allocations: 1.111 MB / 0.5707 GB, free: 35.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003154/0.7248, allocations: 366.6 kB / 0.571 GB, free: 34.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/0.7366, allocations: 9.02 MB / 0.5799 GB, free: 25.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002035/0.7387, allocations: 2.797 MB / 0.5826 GB, free: 23.08 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003524/0.7422, allocations: 1.652 MB / 0.5842 GB, free: 21.42 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004964/0.7427, allocations: 211.4 kB / 0.5844 GB, free: 21.22 MB / 378.7 MB Notification: Performance of SimCode: time 7.72e-07/0.7427, allocations: 0 / 0.5844 GB, free: 21.22 MB / 378.7 MB Notification: Performance of Templates: time 0.04961/0.7923, allocations: 29.48 MB / 0.6132 GB, free: 7.84 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches