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.001209/0.001209, allocations: 107.4 kB / 17.16 MB, free: 6.305 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.001322/0.001322, allocations: 198 kB / 18.07 MB, free: 5.41 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.305/1.305, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001169/0.001169, allocations: 55.92 kB / 280.1 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09631/0.09749, allocations: 46.62 MB / 326.7 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.02998/0.1275, allocations: 34.69 MB / 361.4 MB, free: 1.957 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0176/0.1452, allocations: 7.902 MB / 369.3 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00603/0.1513, allocations: 147.6 kB / 369.4 MB, free: 9.887 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004075/0.1554, allocations: 1.921 MB / 371.4 MB, free: 7.961 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003872/0.1593, allocations: 1.549 MB / 372.9 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001442/0.1607, allocations: 0.5577 MB / 373.5 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00594/0.1667, allocations: 4.758 MB / 378.2 MB, free: 1.078 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1955/0.3622, allocations: 2.538 MB / 380.8 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002517/0.3647, allocations: 1.105 MB / 381.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003859/0.3686, allocations: 1.798 MB / 383.7 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001069/0.3697, allocations: 176.2 kB / 383.8 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002937/0.3727, allocations: 1.012 MB / 384.9 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002439/0.3751, allocations: 1.513 MB / 386.4 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002452/0.3776, allocations: 1.771 MB / 388.1 MB, free: 9.473 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006117/0.3837, allocations: 5.58 MB / 393.7 MB, free: 8.688 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.667e-05/0.3838, allocations: 3.703 kB / 393.7 MB, free: 8.688 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.3838, allocations: 0 / 393.7 MB, free: 8.688 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001855/0.384, allocations: 4 kB / 393.7 MB, free: 8.684 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.007939/0.3919, allocations: 4.039 MB / 397.8 MB, free: 6.973 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.392, allocations: 9.75 kB / 397.8 MB, free: 6.973 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007444/0.3928, allocations: 0.6122 MB / 398.4 MB, free: 6.906 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005682/0.3984, allocations: 1.784 MB / 400.2 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004132/0.4026, allocations: 2.382 MB / 402.5 MB, free: 5.727 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.4027, allocations: 194 kB / 402.7 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004415/0.4032, allocations: 257.9 kB / 403 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0127/0.4159, allocations: 8.425 MB / 411.4 MB, free: 1.238 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.472e-05/0.416, allocations: 46.09 kB / 411.5 MB, free: 1.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003536/0.4164, allocations: 125.1 kB / 411.6 MB, free: 1.176 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002251/0.4186, allocations: 1.699 MB / 413.3 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01341/0.4321, allocations: 7.1 MB / 420.4 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04476/0.4769, allocations: 34.17 MB / 454.6 MB, free: 8.344 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007103/0.484, allocations: 3.278 MB / 457.8 MB, free: 4.922 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001831/0.4859, allocations: 1.451 MB / 459.3 MB, free: 3.457 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006903/0.4928, allocations: 4.383 MB / 463.7 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.4929, allocations: 54.39 kB / 463.7 MB, free: 14.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=121): time 3.727e-06/0.4929, allocations: 0 / 463.7 MB, free: 14.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.02794/0.5208, allocations: 11.57 MB / 475.3 MB, free: 3.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.934e-05/0.521, allocations: 140.3 kB / 475.4 MB, free: 2.988 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006178/0.5271, allocations: 3.746 MB / 479.2 MB, free: 15.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004353/0.5276, allocations: 48.52 kB / 479.2 MB, free: 15.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001984/0.5296, allocations: 2.754 MB / 482 MB, free: 12.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008035/0.5304, allocations: 0.5158 MB / 482.5 MB, free: 11.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001461/0.5319, allocations: 1.081 MB / 483.6 MB, free: 10.85 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.532, allocations: 305.1 kB / 483.9 MB, free: 10.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002328/0.5344, allocations: 1.693 MB / 485.6 MB, free: 8.848 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004809/0.5392, allocations: 5.116 MB / 490.7 MB, free: 2.062 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008663/0.5479, allocations: 7.406 MB / 498.1 MB, free: 9.449 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001038/0.548, allocations: 36 kB / 498.1 MB, free: 9.414 MB / 414.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01294/0.5609, allocations: 6.691 MB / 0.493 GB, free: 3.438 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.674e-05/0.5611, allocations: 59.94 kB / 0.493 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001837/0.5613, allocations: 122.6 kB / 0.4931 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006557/0.5619, allocations: 316.7 kB / 0.4934 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004139/0.5661, allocations: 1.244 MB / 0.4947 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002499/0.5686, allocations: 2.284 MB / 0.4969 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004349/0.5729, allocations: 287.4 kB / 0.4972 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009429/0.5739, allocations: 328 kB / 0.4975 GB, free: 14.86 MB / 430.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.003209/0.5771, allocations: 1.796 MB / 0.4992 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006869/0.5778, allocations: 311.9 kB / 0.4995 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004389/0.5822, allocations: 2.367 MB / 0.5018 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.387e-05/0.5823, allocations: 19.94 kB / 0.5019 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.5823, allocations: 4 kB / 0.5019 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.5823, allocations: 3.984 kB / 0.5019 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01218/0.5945, allocations: 5.919 MB / 0.5077 GB, free: 4.477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/0.5945, allocations: 4 kB / 0.5077 GB, free: 4.473 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008082/0.5953, allocations: 171.7 kB / 0.5078 GB, free: 4.305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002136/0.5975, allocations: 0.7197 MB / 0.5085 GB, free: 3.582 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001374/0.5976, allocations: 23.94 kB / 0.5085 GB, free: 3.559 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005905/0.6036, allocations: 4.469 MB / 0.5129 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.6036, allocations: 0 / 0.5129 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006818/0.6104, allocations: 4.327 MB / 0.5171 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/0.612, allocations: 0.5242 MB / 0.5176 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009708/0.613, allocations: 20 kB / 0.5177 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001751/0.6147, allocations: 71.97 kB / 0.5177 GB, free: 9.961 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002508/0.615, allocations: 72.48 kB / 0.5178 GB, free: 9.891 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.6151, allocations: 35.94 kB / 0.5178 GB, free: 9.855 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004931/0.6201, allocations: 2.339 MB / 0.5201 GB, free: 7.531 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6201, allocations: 0 / 0.5201 GB, free: 7.531 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005231/0.6253, allocations: 0.8151 MB / 0.5209 GB, free: 6.719 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.007335/0.6327, allocations: 4.967 MB / 0.5258 GB, free: 1.719 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006705/0.6394, allocations: 4.014 MB / 0.5297 GB, free: 13.72 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.6394, allocations: 1.25 kB / 0.5297 GB, free: 13.72 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001512/0.641, allocations: 1.111 MB / 0.5308 GB, free: 12.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003278/0.6442, allocations: 368.5 kB / 0.5311 GB, free: 12.24 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.22/0.8643, allocations: 43.83 MB / 0.5739 GB, free: 156.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002362/0.8667, allocations: 2.791 MB / 0.5767 GB, free: 155.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003416/0.8701, allocations: 1.659 MB / 0.5783 GB, free: 154.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001652/0.8718, allocations: 1.529 MB / 0.5798 GB, free: 153.3 MB / 462.1 MB Notification: Performance of SimCode: time 1.052e-06/0.8718, allocations: 0 / 0.5798 GB, free: 153.3 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07298/0.9448, allocations: 59.98 MB / 0.6383 GB, free: 93.59 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001319/0.945, allocations: 243.2 kB / 0.6386 GB, free: 93.34 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.399/4.344, allocations: 0 / 0.6386 GB, free: 93.34 MB / 462.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