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.001048/0.001048, allocations: 113.3 kB / 17.28 MB, free: 6.312 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.0009552/0.0009553, allocations: 189.3 kB / 18.19 MB, free: 5.395 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.289/1.289, allocations: 205.1 MB / 224.1 MB, free: 12.43 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.001689/0.001689, allocations: 52.39 kB / 280.2 MB, free: 3.387 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1234, allocations: 46.64 MB / 326.9 MB, free: 4.68 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.03532/0.1587, allocations: 34.69 MB / 361.6 MB, free: 1.844 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02058/0.1794, allocations: 7.797 MB / 369.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008238/0.1877, allocations: 143.6 kB / 369.5 MB, free: 9.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004643/0.1924, allocations: 1.87 MB / 371.4 MB, free: 8.008 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005445/0.1979, allocations: 1.546 MB / 372.9 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.1998, allocations: 0.5734 MB / 373.5 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005065/0.2049, allocations: 3.373 MB / 376.9 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2034/0.4083, allocations: 2.734 MB / 379.6 MB, free: 10.79 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002974/0.4114, allocations: 1.265 MB / 380.9 MB, free: 10.79 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003885/0.4153, allocations: 1.872 MB / 382.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001132/0.4164, allocations: 252.8 kB / 383 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002622/0.4191, allocations: 1.037 MB / 384 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002457/0.4215, allocations: 1.591 MB / 385.6 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003498/0.4251, allocations: 1.868 MB / 387.5 MB, free: 9.898 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007487/0.4326, allocations: 5.687 MB / 393.2 MB, free: 9.102 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.4326, allocations: 1.969 kB / 393.2 MB, free: 9.102 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4326, allocations: 0 / 393.2 MB, free: 9.102 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002264/0.4329, allocations: 1.312 kB / 393.2 MB, free: 9.102 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.01237/0.4452, allocations: 4.035 MB / 397.2 MB, free: 7.398 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.367e-05/0.4453, allocations: 9.625 kB / 397.2 MB, free: 7.398 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001896/0.4472, allocations: 0.6076 MB / 397.8 MB, free: 7.332 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006621/0.4539, allocations: 1.785 MB / 399.6 MB, free: 7.047 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005227/0.4591, allocations: 2.387 MB / 402 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001919/0.4594, allocations: 195.1 kB / 402.2 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009067/0.4603, allocations: 251.8 kB / 402.4 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01431/0.4746, allocations: 8.431 MB / 410.9 MB, free: 1.508 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-05/0.4747, allocations: 44 kB / 410.9 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003348/0.4751, allocations: 122.6 kB / 411 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002391/0.4775, allocations: 1.7 MB / 412.7 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01284/0.4903, allocations: 7.094 MB / 419.8 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03965/0.53, allocations: 34.17 MB / 454 MB, free: 8.641 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007122/0.5372, allocations: 3.279 MB / 457.3 MB, free: 5.219 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001905/0.5391, allocations: 1.466 MB / 458.7 MB, free: 3.742 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006552/0.5457, allocations: 4.379 MB / 463.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.5458, allocations: 42.69 kB / 463.2 MB, free: 15.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=121): time 3.878e-06/0.5458, allocations: 0 / 463.2 MB, free: 15.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.03042/0.5762, allocations: 11.59 MB / 474.7 MB, free: 3.441 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.5e-05/0.5763, allocations: 144.8 kB / 474.9 MB, free: 3.273 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007148/0.5835, allocations: 3.738 MB / 478.6 MB, free: 15.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000378/0.5839, allocations: 41.7 kB / 478.7 MB, free: 15.49 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002096/0.586, allocations: 2.749 MB / 481.4 MB, free: 12.74 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006589/0.5867, allocations: 0.5234 MB / 481.9 MB, free: 12.22 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001408/0.5881, allocations: 1.069 MB / 483 MB, free: 11.14 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.5882, allocations: 309.1 kB / 483.3 MB, free: 10.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002335/0.5906, allocations: 1.696 MB / 485 MB, free: 9.141 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004611/0.5952, allocations: 5.115 MB / 490.1 MB, free: 2.359 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007642/0.6029, allocations: 7.403 MB / 497.5 MB, free: 9.746 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.707e-05/0.603, allocations: 36 kB / 497.6 MB, free: 9.711 MB / 414.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01144/0.6144, allocations: 6.69 MB / 0.4924 GB, free: 3.734 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.6145, allocations: 64.88 kB / 0.4925 GB, free: 3.672 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000199/0.6148, allocations: 124 kB / 0.4926 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006733/0.6154, allocations: 320.7 kB / 0.4929 GB, free: 3.234 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003665/0.6191, allocations: 1.24 MB / 0.4941 GB, free: 2.105 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002562/0.6217, allocations: 2.504 MB / 0.4966 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003904/0.6256, allocations: 283.5 kB / 0.4968 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000737/0.6264, allocations: 332 kB / 0.4972 GB, free: 14.92 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.003407/0.6298, allocations: 1.789 MB / 0.4989 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006471/0.6304, allocations: 308 kB / 0.4992 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004786/0.6352, allocations: 2.369 MB / 0.5015 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-05/0.6353, allocations: 15.28 kB / 0.5015 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.6353, allocations: 4 kB / 0.5015 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/0.6353, allocations: 11.97 kB / 0.5015 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01247/0.6478, allocations: 5.92 MB / 0.5073 GB, free: 4.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/0.6478, allocations: 7.875 kB / 0.5073 GB, free: 4.562 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008133/0.6487, allocations: 171.8 kB / 0.5075 GB, free: 4.395 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002172/0.6509, allocations: 0.7147 MB / 0.5082 GB, free: 3.676 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001307/0.651, allocations: 19.67 kB / 0.5082 GB, free: 3.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006224/0.6572, allocations: 4.818 MB / 0.5129 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.6572, allocations: 3.938 kB / 0.5129 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006881/0.6641, allocations: 4.325 MB / 0.5171 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001519/0.6657, allocations: 0.5282 MB / 0.5177 GB, free: 9.801 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007931/0.6665, allocations: 20 kB / 0.5177 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/0.6679, allocations: 73.69 kB / 0.5177 GB, free: 9.711 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/0.6681, allocations: 68.5 kB / 0.5178 GB, free: 9.645 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.6682, allocations: 36 kB / 0.5178 GB, free: 9.609 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00469/0.6729, allocations: 2.339 MB / 0.5201 GB, free: 7.285 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6729, allocations: 0 / 0.5201 GB, free: 7.285 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004793/0.6777, allocations: 0.8163 MB / 0.5209 GB, free: 6.469 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.006971/0.6847, allocations: 4.962 MB / 0.5258 GB, free: 1.473 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007278/0.692, allocations: 4.4 MB / 0.5301 GB, free: 13.09 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.692, allocations: 2.219 kB / 0.5301 GB, free: 13.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00154/0.6936, allocations: 1.111 MB / 0.5312 GB, free: 11.96 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/0.6962, allocations: 391.8 kB / 0.5315 GB, free: 11.58 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2131/0.9093, allocations: 43.84 MB / 0.5743 GB, free: 156.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002544/0.9119, allocations: 2.783 MB / 0.5771 GB, free: 155.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003616/0.9155, allocations: 1.663 MB / 0.5787 GB, free: 154.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00155/0.9171, allocations: 1.524 MB / 0.5802 GB, free: 153.1 MB / 462.1 MB Notification: Performance of SimCode: time 9.02e-07/0.9171, allocations: 0 / 0.5802 GB, free: 153.1 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07747/0.9946, allocations: 61.14 MB / 0.6399 GB, free: 92.21 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001418/0.9947, allocations: 243.4 kB / 0.6401 GB, free: 91.96 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.413/4.407, allocations: 0 / 0.6401 GB, free: 91.96 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