Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009489/0.0009489, allocations: 95.7 kB / 17.3 MB, free: 6.363 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.0009607/0.0009609, allocations: 173.2 kB / 18.2 MB, free: 5.531 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.199/1.199, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.00043/0.00043, allocations: 8 kB / 281.5 MB, free: 3.305 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08544/0.08588, allocations: 47.58 MB / 329.1 MB, free: 3.656 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.02807/0.114, allocations: 33.7 MB / 362.8 MB, free: 1.816 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01532/0.1294, allocations: 7.84 MB / 370.6 MB, free: 9.953 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00622/0.1356, allocations: 143.6 kB / 370.7 MB, free: 9.812 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.1367, allocations: 370.2 kB / 371.1 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003567/0.1403, allocations: 1.553 MB / 372.7 MB, free: 7.891 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.1414, allocations: 0.5578 MB / 373.2 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00526/0.1467, allocations: 4.762 MB / 378 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1542/0.3009, allocations: 3.281 MB / 381.3 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001985/0.3029, allocations: 0.9544 MB / 382.2 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002379/0.3053, allocations: 1.615 MB / 383.8 MB, free: 10.74 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004108/0.3057, allocations: 112.9 kB / 383.9 MB, free: 10.74 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.3074, allocations: 0.9494 MB / 384.9 MB, free: 10.74 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00137/0.3088, allocations: 1.427 MB / 386.3 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001356/0.3102, allocations: 1.688 MB / 388 MB, free: 9.871 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005041/0.3152, allocations: 5.432 MB / 393.4 MB, free: 9.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3152, allocations: 4.719 kB / 393.4 MB, free: 9.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3152, allocations: 0 / 393.4 MB, free: 9.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001013/0.3153, allocations: 3.938 kB / 393.4 MB, free: 9.086 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.005201/0.3205, allocations: 3.331 MB / 396.8 MB, free: 7.418 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.3206, allocations: 8.75 kB / 396.8 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006405/0.3212, allocations: 0.6055 MB / 397.4 MB, free: 7.352 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005529/0.3268, allocations: 1.83 MB / 399.2 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002983/0.3298, allocations: 2.384 MB / 401.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.3299, allocations: 198.2 kB / 401.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003938/0.3303, allocations: 255.9 kB / 402 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01013/0.3404, allocations: 8.435 MB / 410.5 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-05/0.3405, allocations: 35.5 kB / 410.5 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002887/0.3408, allocations: 130 kB / 410.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002156/0.343, allocations: 1.701 MB / 412.3 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009969/0.353, allocations: 7.108 MB / 419.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03083/0.3838, allocations: 34.17 MB / 453.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006631/0.3905, allocations: 3.28 MB / 456.9 MB, free: 7.191 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001675/0.3922, allocations: 1.455 MB / 458.3 MB, free: 5.727 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005344/0.3975, allocations: 4.371 MB / 462.7 MB, free: 1.176 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.3976, allocations: 47.12 kB / 462.8 MB, free: 1.121 MB / 366.1 MB Notification: Performance of pre-optimization done (n=121): time 3.747e-06/0.3976, allocations: 0 / 462.8 MB, free: 1.121 MB / 366.1 MB Notification: Performance of matching and sorting (n=129): time 0.02655/0.4241, allocations: 11.55 MB / 474.3 MB, free: 5.457 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.4242, allocations: 143.8 kB / 474.5 MB, free: 5.289 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00452/0.4287, allocations: 3.738 MB / 478.2 MB, free: 1.559 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001271/0.4289, allocations: 49.69 kB / 478.2 MB, free: 1.504 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001601/0.4305, allocations: 2.756 MB / 481 MB, free: 14.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004378/0.4309, allocations: 0.5188 MB / 481.5 MB, free: 14.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000486/0.4314, allocations: 468.8 kB / 482 MB, free: 13.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.007e-05/0.4315, allocations: 305.1 kB / 482.3 MB, free: 13.47 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002168/0.4337, allocations: 1.693 MB / 484 MB, free: 11.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004138/0.4378, allocations: 5.119 MB / 489.1 MB, free: 4.984 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006824/0.4447, allocations: 7.397 MB / 496.5 MB, free: 12.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.682e-05/0.4447, allocations: 36 kB / 496.5 MB, free: 12.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.009084/0.4538, allocations: 6.698 MB / 0.4914 GB, free: 6.355 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.329e-05/0.4539, allocations: 64 kB / 0.4915 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001114/0.454, allocations: 120.5 kB / 0.4916 GB, free: 6.176 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005883/0.4546, allocations: 316.7 kB / 0.4919 GB, free: 5.863 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003223/0.4579, allocations: 1.245 MB / 0.4931 GB, free: 4.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.4602, allocations: 2.282 MB / 0.4953 GB, free: 2.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003272/0.4634, allocations: 287.4 kB / 0.4956 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004246/0.4639, allocations: 335.9 kB / 0.4959 GB, free: 1.758 MB / 414.1 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 (664): * Single equations (assignments): 660 * 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.002837/0.4667, allocations: 1.795 MB / 0.4977 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004944/0.4672, allocations: 312 kB / 0.498 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004498/0.4717, allocations: 2.359 MB / 0.5003 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.258e-05/0.4718, allocations: 27.92 kB / 0.5003 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.4718, allocations: 4 kB / 0.5003 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.4718, allocations: 3.984 kB / 0.5003 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/0.4831, allocations: 5.923 MB / 0.5061 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/0.4832, allocations: 4 kB / 0.5061 GB, free: 7.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007467/0.4839, allocations: 171.8 kB / 0.5063 GB, free: 7.102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002046/0.486, allocations: 0.7108 MB / 0.507 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.97e-05/0.4861, allocations: 34.59 kB / 0.507 GB, free: 6.355 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005387/0.4915, allocations: 4.466 MB / 0.5114 GB, free: 1.762 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.4915, allocations: 4.031 kB / 0.5114 GB, free: 1.758 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006436/0.498, allocations: 4.325 MB / 0.5156 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/0.4992, allocations: 0.5359 MB / 0.5161 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002807/0.4995, allocations: 19.98 kB / 0.5161 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.5005, allocations: 63.92 kB / 0.5162 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/0.5007, allocations: 66.91 kB / 0.5163 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.955e-05/0.5008, allocations: 43.92 kB / 0.5163 GB, free: 12.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003367/0.5042, allocations: 2.343 MB / 0.5186 GB, free: 10.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5042, allocations: 0 / 0.5186 GB, free: 10.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003766/0.508, allocations: 0.8125 MB / 0.5194 GB, free: 9.508 MB / 446.1 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.006696/0.5147, allocations: 4.963 MB / 0.5242 GB, free: 4.508 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005788/0.5205, allocations: 4.011 MB / 0.5281 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5205, allocations: 11.88 kB / 0.5282 GB, free: 0.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1665/0.687, allocations: 1.097 MB / 0.5292 GB, free: 130 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002901/0.6899, allocations: 369.2 kB / 0.5296 GB, free: 130 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05391/0.7439, allocations: 43.9 MB / 0.5725 GB, free: 101.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002153/0.7461, allocations: 2.792 MB / 0.5752 GB, free: 100.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0032/0.7493, allocations: 1.657 MB / 0.5768 GB, free: 99.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001387/0.7507, allocations: 1.522 MB / 0.5783 GB, free: 97.52 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/0.7507, allocations: 0 / 0.5783 GB, free: 97.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.082/1.833, allocations: 59.35 MB / 0.6362 GB, free: 38.14 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/1.833, allocations: 242.5 kB / 0.6365 GB, free: 37.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.195/5.028, allocations: 3.906 kB / 0.6365 GB, free: 37.88 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > 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/jenkins1/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