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.001338/0.001338, allocations: 106.6 kB / 17.73 MB, free: 5.367 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.001443/0.001443, allocations: 187.1 kB / 18.66 MB, free: 4.445 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.346/1.346, 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.001384/0.001384, allocations: 59.91 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08901/0.0904, allocations: 46.62 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.1781/0.2686, allocations: 10.24 MB / 384.9 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00691/0.2755, allocations: 3.782 MB / 388.7 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001479/0.277, allocations: 54.72 kB / 388.7 MB, free: 5.652 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004226/0.2813, allocations: 1.952 MB / 390.7 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003956/0.2853, allocations: 1.658 MB / 392.3 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.2866, allocations: 0.6059 MB / 392.9 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004217/0.2908, allocations: 3.339 MB / 396.3 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00278/0.2936, allocations: 2.584 MB / 398.9 MB, free: 1.402 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00172/0.2954, allocations: 1.247 MB / 400.1 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001805/0.2972, allocations: 1.684 MB / 401.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004618/0.2976, allocations: 254.4 kB / 402 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.2995, allocations: 1.021 MB / 403.1 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001402/0.3009, allocations: 1.583 MB / 404.6 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001709/0.3026, allocations: 1.843 MB / 406.5 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005691/0.3083, allocations: 5.839 MB / 412.3 MB, free: 9.262 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3083, allocations: 1.375 kB / 412.3 MB, free: 9.262 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3083, allocations: 0 / 412.3 MB, free: 9.262 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.756e-05/0.3084, allocations: 0 / 412.3 MB, free: 9.262 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.007291/0.3157, allocations: 4.05 MB / 416.4 MB, free: 5.973 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.3158, allocations: 8.031 kB / 416.4 MB, free: 5.965 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006714/0.3165, allocations: 0.6043 MB / 417 MB, free: 5.352 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006224/0.3227, allocations: 1.786 MB / 418.8 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004471/0.3272, allocations: 2.417 MB / 421.2 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.3273, allocations: 188.8 kB / 421.4 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004242/0.3278, allocations: 263.7 kB / 421.6 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01145/0.3392, allocations: 8.423 MB / 430.1 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001101/0.3393, allocations: 47.58 kB / 430.1 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003545/0.3397, allocations: 123.9 kB / 430.2 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002777/0.3425, allocations: 1.695 MB / 431.9 MB, free: 5.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01252/0.355, allocations: 7.106 MB / 439 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04273/0.3978, allocations: 34.02 MB / 473.1 MB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007337/0.4052, allocations: 3.298 MB / 476.3 MB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001913/0.4071, allocations: 1.466 MB / 477.8 MB, free: 6.621 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007396/0.4145, allocations: 4.342 MB / 482.2 MB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.4146, allocations: 51 kB / 482.2 MB, free: 2.012 MB / 398.1 MB Notification: Performance of pre-optimization done (n=121): time 4.338e-06/0.4146, allocations: 0 / 482.2 MB, free: 2.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=129): time 0.03049/0.4451, allocations: 11.58 MB / 493.8 MB, free: 6.281 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.801e-05/0.4452, allocations: 137.2 kB / 493.9 MB, free: 6.117 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006538/0.4518, allocations: 3.742 MB / 497.7 MB, free: 2.383 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002556/0.4521, allocations: 45.69 kB / 497.7 MB, free: 2.332 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0021/0.4542, allocations: 2.764 MB / 0.4887 GB, free: 15.53 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007189/0.4549, allocations: 0.5132 MB / 0.4892 GB, free: 15.01 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0021/0.457, allocations: 1.075 MB / 0.4903 GB, free: 13.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.14e-05/0.4571, allocations: 301.1 kB / 0.4906 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00262/0.4598, allocations: 1.697 MB / 0.4922 GB, free: 11.92 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004908/0.4647, allocations: 5.115 MB / 0.4972 GB, free: 5.074 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008042/0.4728, allocations: 7.409 MB / 0.5045 GB, free: 11.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001065/0.4729, allocations: 36 kB / 0.5045 GB, free: 11.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01205/0.4849, allocations: 6.696 MB / 0.511 GB, free: 5.219 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001388/0.4851, allocations: 60.03 kB / 0.5111 GB, free: 5.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002098/0.4853, allocations: 124 kB / 0.5112 GB, free: 5.039 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000735/0.4861, allocations: 317.1 kB / 0.5115 GB, free: 4.727 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003769/0.4899, allocations: 1.236 MB / 0.5127 GB, free: 3.488 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00265/0.4925, allocations: 2.498 MB / 0.5152 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003625/0.4962, allocations: 291.5 kB / 0.5154 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000659/0.4969, allocations: 328 kB / 0.5158 GB, free: 252 kB / 446.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.003233/0.5001, allocations: 1.799 MB / 0.5175 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006837/0.5008, allocations: 311.9 kB / 0.5178 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004767/0.5056, allocations: 2.359 MB / 0.5201 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.923e-05/0.5056, allocations: 20 kB / 0.5201 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.5056, allocations: 4 kB / 0.5201 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.5057, allocations: 3.984 kB / 0.5201 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/0.5181, allocations: 5.922 MB / 0.5259 GB, free: 5.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.5181, allocations: 4 kB / 0.5259 GB, free: 5.727 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007876/0.5189, allocations: 175.7 kB / 0.5261 GB, free: 5.555 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002092/0.521, allocations: 0.7108 MB / 0.5268 GB, free: 4.84 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/0.5211, allocations: 20 kB / 0.5268 GB, free: 4.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0057/0.5268, allocations: 4.807 MB / 0.5315 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.5268, allocations: 5.562 kB / 0.5315 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006511/0.5334, allocations: 4.329 MB / 0.5357 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001527/0.5349, allocations: 0.5321 MB / 0.5363 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006169/0.5355, allocations: 19.94 kB / 0.5363 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/0.5369, allocations: 63.92 kB / 0.5363 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000206/0.5371, allocations: 72.48 kB / 0.5364 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.737e-05/0.5372, allocations: 39.98 kB / 0.5364 GB, free: 10.75 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004249/0.5414, allocations: 2.335 MB / 0.5387 GB, free: 8.434 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5415, allocations: 0 / 0.5387 GB, free: 8.434 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004382/0.5458, allocations: 0.8086 MB / 0.5395 GB, free: 7.625 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.007002/0.5529, allocations: 4.966 MB / 0.5444 GB, free: 2.621 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.1651/0.718, allocations: 4.03 MB / 0.5483 GB, free: 155.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.946e-06/0.7181, allocations: 0.5 kB / 0.5483 GB, free: 155.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001644/0.7197, allocations: 1.109 MB / 0.5494 GB, free: 155.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002146/0.7219, allocations: 390.8 kB / 0.5498 GB, free: 155.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03951/0.7614, allocations: 37.65 MB / 0.5865 GB, free: 130.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001914/0.7634, allocations: 2.783 MB / 0.5892 GB, free: 128.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002779/0.7662, allocations: 1.661 MB / 0.5909 GB, free: 127.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/0.7675, allocations: 1.522 MB / 0.5924 GB, free: 125.8 MB / 478.1 MB Notification: Performance of SimCode: time 5.01e-07/0.7675, allocations: 3.281 kB / 0.5924 GB, free: 125.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9185/1.686, allocations: 58.61 MB / 0.6496 GB, free: 67.16 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 24.69/26.38, allocations: 7.922 kB / 0.6496 GB, free: 67.15 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