Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_4_0_0_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.001056/0.001056, allocations: 110 kB / 16.62 MB, free: 6.812 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.0009883/0.0009883, allocations: 193.8 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 241.2 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009903/0.0009903, allocations: 43 kB / 300.2 MB, free: 6.102 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1042, allocations: 49.45 MB / 349.7 MB, free: 4.648 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.1911/0.2954, allocations: 34.68 MB / 384.4 MB, free: 7.703 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01414/0.3095, allocations: 7.8 MB / 392.2 MB, free: 3.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005049/0.3146, allocations: 146.7 kB / 392.3 MB, free: 3.207 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003085/0.3177, allocations: 1.861 MB / 394.2 MB, free: 2.367 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003104/0.3209, allocations: 1.55 MB / 395.7 MB, free: 1.703 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.3219, allocations: 0.5636 MB / 396.3 MB, free: 1.469 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002908/0.3248, allocations: 3.363 MB / 399.7 MB, free: 15.82 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002523/0.3274, allocations: 2.725 MB / 402.4 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001359/0.3287, allocations: 1.254 MB / 403.6 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/0.3305, allocations: 1.876 MB / 405.5 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002869/0.3308, allocations: 254.3 kB / 405.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001491/0.3323, allocations: 1.054 MB / 406.8 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001127/0.3334, allocations: 1.586 MB / 408.4 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001386/0.3348, allocations: 1.86 MB / 410.3 MB, free: 8.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004451/0.3393, allocations: 5.67 MB / 415.9 MB, free: 2.488 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3393, allocations: 4 kB / 415.9 MB, free: 2.484 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3393, allocations: 4 kB / 415.9 MB, free: 2.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.077e-05/0.3394, allocations: 0 / 415.9 MB, free: 2.48 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.005825/0.3452, allocations: 4.03 MB / 420 MB, free: 14.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.3453, allocations: 12.03 kB / 420 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006748/0.3459, allocations: 0.6082 MB / 420.6 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005743/0.3517, allocations: 1.782 MB / 422.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003354/0.3551, allocations: 2.213 MB / 424.6 MB, free: 9.688 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.3552, allocations: 200.8 kB / 424.8 MB, free: 9.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003799/0.3556, allocations: 263.8 kB / 425 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01078/0.3664, allocations: 8.431 MB / 433.5 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.987e-05/0.3665, allocations: 35.66 kB / 433.5 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000308/0.3668, allocations: 127.9 kB / 433.6 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002499/0.3693, allocations: 1.691 MB / 435.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01046/0.3798, allocations: 7.102 MB / 442.4 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0316/0.4114, allocations: 34.15 MB / 476.6 MB, free: 4.031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006727/0.4181, allocations: 3.288 MB / 479.8 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00171/0.4199, allocations: 1.454 MB / 481.3 MB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005384/0.4253, allocations: 4.345 MB / 485.6 MB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.4253, allocations: 63 kB / 485.7 MB, free: 10.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=121): time 3.136e-06/0.4253, allocations: 3.938 kB / 485.7 MB, free: 10.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=129): time 0.02513/0.4505, allocations: 11.52 MB / 497.2 MB, free: 14.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.4505, allocations: 149.1 kB / 497.4 MB, free: 14.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004467/0.455, allocations: 3.726 MB / 0.4894 GB, free: 10.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.827e-05/0.4551, allocations: 45.69 kB / 0.4894 GB, free: 10.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001703/0.4568, allocations: 2.756 MB / 0.4921 GB, free: 8.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004153/0.4573, allocations: 0.5171 MB / 0.4926 GB, free: 7.566 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001195/0.4585, allocations: 1.075 MB / 0.4936 GB, free: 6.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.771e-05/0.4586, allocations: 309 kB / 0.4939 GB, free: 6.176 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002205/0.4608, allocations: 1.693 MB / 0.4956 GB, free: 4.477 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004164/0.4649, allocations: 5.119 MB / 0.5006 GB, free: 13.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006606/0.4716, allocations: 7.409 MB / 0.5078 GB, free: 4.512 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.535e-05/0.4716, allocations: 36 kB / 0.5079 GB, free: 4.477 MB / 430.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.008988/0.4806, allocations: 6.69 MB / 0.5144 GB, free: 13.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.613e-05/0.4807, allocations: 56 kB / 0.5145 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001273/0.4808, allocations: 120 kB / 0.5146 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005871/0.4814, allocations: 329 kB / 0.5149 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003197/0.4846, allocations: 1.236 MB / 0.5161 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002316/0.487, allocations: 2.489 MB / 0.5185 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002785/0.4898, allocations: 287.6 kB / 0.5188 GB, free: 9.125 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003549/0.4901, allocations: 336 kB / 0.5191 GB, free: 8.797 MB / 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.002137/0.4923, allocations: 1.787 MB / 0.5209 GB, free: 7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004561/0.4927, allocations: 312 kB / 0.5212 GB, free: 6.691 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004141/0.4969, allocations: 2.37 MB / 0.5235 GB, free: 4.305 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/0.4969, allocations: 12 kB / 0.5235 GB, free: 4.293 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.4969, allocations: 4 kB / 0.5235 GB, free: 4.289 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.4969, allocations: 3.984 kB / 0.5235 GB, free: 4.285 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1533/0.6503, allocations: 5.92 MB / 0.5293 GB, free: 147.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.6503, allocations: 1.844 kB / 0.5293 GB, free: 147.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007846/0.6511, allocations: 168.9 kB / 0.5294 GB, free: 147.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00209/0.6532, allocations: 0.7164 MB / 0.5301 GB, free: 147.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-05/0.6533, allocations: 25.77 kB / 0.5302 GB, free: 147.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004887/0.6582, allocations: 4.808 MB / 0.5349 GB, free: 145.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6582, allocations: 6.531 kB / 0.5349 GB, free: 145.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005815/0.664, allocations: 4.331 MB / 0.5391 GB, free: 144 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005419/0.6646, allocations: 364.2 kB / 0.5394 GB, free: 143.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000292/0.6649, allocations: 22.86 kB / 0.5395 GB, free: 143.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009627/0.6659, allocations: 70.69 kB / 0.5395 GB, free: 143.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/0.666, allocations: 70 kB / 0.5396 GB, free: 143.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.381e-05/0.6661, allocations: 34.73 kB / 0.5396 GB, free: 143.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002737/0.6689, allocations: 2.322 MB / 0.5419 GB, free: 143.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.142e-06/0.6689, allocations: 0 / 0.5419 GB, free: 143.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003202/0.6721, allocations: 0.8196 MB / 0.5427 GB, free: 143 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.005432/0.6775, allocations: 4.969 MB / 0.5475 GB, free: 140.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004841/0.6824, allocations: 4.402 MB / 0.5518 GB, free: 139.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.6824, allocations: 3.469 kB / 0.5518 GB, free: 139.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.6834, allocations: 1.11 MB / 0.5529 GB, free: 139 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/0.6851, allocations: 387.2 kB / 0.5533 GB, free: 138.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03868/0.7238, allocations: 43.68 MB / 0.596 GB, free: 93.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001948/0.7258, allocations: 2.781 MB / 0.5987 GB, free: 90.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003113/0.7289, allocations: 1.657 MB / 0.6003 GB, free: 88.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001439/0.7304, allocations: 1.519 MB / 0.6018 GB, free: 87.09 MB / 446.1 MB Notification: Performance of SimCode: time 8.51e-07/0.7304, allocations: 0 / 0.6018 GB, free: 87.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4748/1.205, allocations: 61 MB / 0.6613 GB, free: 26.54 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/1.205, allocations: 260.9 kB / 0.6616 GB, free: 26.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.426/4.631, allocations: 0 / 0.6616 GB, free: 26.27 MB / 446.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches