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.001448/0.001448, allocations: 113.4 kB / 17.73 MB, free: 5.355 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.001467/0.001467, allocations: 184.1 kB / 18.66 MB, free: 4.434 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.454/1.454, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001845/0.001846, allocations: 56.2 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09375/0.09561, allocations: 46.62 MB / 374.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.2021/0.2978, allocations: 10.24 MB / 384.9 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008211/0.306, allocations: 3.786 MB / 388.7 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001875/0.308, allocations: 57.88 kB / 388.7 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003802/0.3118, allocations: 1.946 MB / 390.7 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004475/0.3163, allocations: 1.657 MB / 392.3 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.3178, allocations: 0.6135 MB / 393 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004806/0.3226, allocations: 3.331 MB / 396.3 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003101/0.3257, allocations: 2.586 MB / 398.9 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002288/0.328, allocations: 1.249 MB / 400.1 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002715/0.3308, allocations: 1.673 MB / 401.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008034/0.3316, allocations: 253.9 kB / 402 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002644/0.3342, allocations: 1.021 MB / 403.1 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002061/0.3363, allocations: 1.567 MB / 404.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002944/0.3393, allocations: 1.84 MB / 406.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008801/0.3481, allocations: 5.861 MB / 412.3 MB, free: 9.234 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.3481, allocations: 5.438 kB / 412.3 MB, free: 9.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.3482, allocations: 3.984 kB / 412.3 MB, free: 9.227 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002008/0.3484, allocations: 0 / 412.3 MB, free: 9.227 MB / 334.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.01026/0.3586, allocations: 4.143 MB / 416.5 MB, free: 5.855 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.3587, allocations: 12.03 kB / 416.5 MB, free: 5.844 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001189/0.3599, allocations: 0.616 MB / 417.1 MB, free: 5.219 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006652/0.3666, allocations: 1.796 MB / 418.9 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005015/0.3716, allocations: 2.437 MB / 421.3 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/0.3718, allocations: 188.8 kB / 421.5 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00068/0.3725, allocations: 255.8 kB / 421.8 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01473/0.3872, allocations: 8.423 MB / 430.2 MB, free: 7.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001083/0.3874, allocations: 43.64 kB / 430.2 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004324/0.3878, allocations: 127.9 kB / 430.4 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002933/0.3907, allocations: 1.699 MB / 432.1 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01355/0.4043, allocations: 7.098 MB / 439.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04119/0.4455, allocations: 34.1 MB / 473.3 MB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008101/0.4537, allocations: 3.294 MB / 476.6 MB, free: 7.887 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002384/0.4561, allocations: 1.462 MB / 478 MB, free: 6.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00873/0.4649, allocations: 4.363 MB / 482.4 MB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.297e-05/0.465, allocations: 47.06 kB / 482.4 MB, free: 1.777 MB / 398.1 MB Notification: Performance of pre-optimization done (n=121): time 4.809e-06/0.465, allocations: 0 / 482.4 MB, free: 1.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=129): time 0.03308/0.4981, allocations: 11.77 MB / 494.2 MB, free: 5.883 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.4982, allocations: 145.1 kB / 494.3 MB, free: 5.711 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006802/0.505, allocations: 3.755 MB / 498.1 MB, free: 1.965 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000331/0.5054, allocations: 41.7 kB / 498.1 MB, free: 1.918 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002936/0.5083, allocations: 2.874 MB / 0.4893 GB, free: 15.01 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007927/0.5091, allocations: 0.539 MB / 0.4898 GB, free: 14.47 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001677/0.5108, allocations: 1.084 MB / 0.4909 GB, free: 13.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002427/0.5111, allocations: 305.1 kB / 0.4911 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003018/0.5141, allocations: 1.693 MB / 0.4928 GB, free: 11.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006548/0.5207, allocations: 5.112 MB / 0.4978 GB, free: 4.531 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009685/0.5304, allocations: 7.401 MB / 0.505 GB, free: 11.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001007/0.5305, allocations: 36 kB / 0.505 GB, free: 11.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01348/0.544, allocations: 6.72 MB / 0.5116 GB, free: 4.664 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.974e-05/0.5441, allocations: 60 kB / 0.5117 GB, free: 4.605 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001541/0.5443, allocations: 124.1 kB / 0.5118 GB, free: 4.484 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006787/0.545, allocations: 316.7 kB / 0.5121 GB, free: 4.172 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004155/0.5491, allocations: 1.244 MB / 0.5133 GB, free: 2.926 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003189/0.5524, allocations: 2.497 MB / 0.5157 GB, free: 296 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004098/0.5565, allocations: 287.6 kB / 0.516 GB, free: 8 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001023/0.5575, allocations: 335.9 kB / 0.5163 GB, free: 15.68 MB / 462.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.003933/0.5615, allocations: 1.783 MB / 0.5181 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008059/0.5623, allocations: 333.7 kB / 0.5184 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005247/0.5676, allocations: 2.367 MB / 0.5207 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.886e-05/0.5676, allocations: 12 kB / 0.5207 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.5677, allocations: 8 kB / 0.5207 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.027e-05/0.5677, allocations: 7.984 kB / 0.5207 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01302/0.5807, allocations: 5.926 MB / 0.5265 GB, free: 5.148 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.5807, allocations: 0 / 0.5265 GB, free: 5.148 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008413/0.5816, allocations: 167.8 kB / 0.5267 GB, free: 4.984 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002259/0.5839, allocations: 0.7147 MB / 0.5274 GB, free: 4.266 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001447/0.584, allocations: 24 kB / 0.5274 GB, free: 4.242 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006606/0.5906, allocations: 4.816 MB / 0.5321 GB, free: 15.28 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.5907, allocations: 0 / 0.5321 GB, free: 15.28 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007336/0.598, allocations: 4.335 MB / 0.5363 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001444/0.5995, allocations: 0.5417 MB / 0.5369 GB, free: 10.35 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005488/0.6001, allocations: 28 kB / 0.5369 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.6013, allocations: 71.91 kB / 0.537 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002331/0.6015, allocations: 64.56 kB / 0.537 GB, free: 10.19 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.6016, allocations: 35.98 kB / 0.5371 GB, free: 10.16 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00425/0.6059, allocations: 2.339 MB / 0.5393 GB, free: 7.832 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6059, allocations: 0 / 0.5393 GB, free: 7.832 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004508/0.6104, allocations: 0.8202 MB / 0.5401 GB, free: 7.012 MB / 478.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.007502/0.6179, allocations: 4.976 MB / 0.545 GB, free: 2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.1767/0.7946, allocations: 4.026 MB / 0.5489 GB, free: 155.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.7947, allocations: 0 / 0.5489 GB, free: 155.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001506/0.7962, allocations: 1.112 MB / 0.55 GB, free: 155.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002525/0.7987, allocations: 394.7 kB / 0.5504 GB, free: 155.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05556/0.8543, allocations: 37.8 MB / 0.5873 GB, free: 129.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003025/0.8574, allocations: 2.79 MB / 0.59 GB, free: 127.7 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003554/0.861, allocations: 1.655 MB / 0.5917 GB, free: 126.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002159/0.8632, allocations: 1.526 MB / 0.5931 GB, free: 125 MB / 478.1 MB Notification: Performance of SimCode: time 1.654e-06/0.8632, allocations: 3.281 kB / 0.5931 GB, free: 125 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08817/0.9514, allocations: 57.72 MB / 0.6495 GB, free: 67.29 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 22.52/23.47, allocations: 7.797 kB / 0.6495 GB, free: 67.28 MB / 478.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches