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.001672/0.001672, allocations: 104.2 kB / 17.58 MB, free: 5.559 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.002134/0.002134, allocations: 192 kB / 18.51 MB, free: 4.641 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.258/1.258, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001282/0.001282, allocations: 51.92 kB / 280.8 MB, free: 3.074 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0738/0.07509, allocations: 46.64 MB / 327.4 MB, free: 4.367 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01051/0.08564, allocations: 10.22 MB / 337.6 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007461/0.09314, allocations: 3.78 MB / 341.4 MB, free: 6.293 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001331/0.09453, allocations: 59.81 kB / 341.5 MB, free: 6.234 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00383/0.09838, allocations: 1.95 MB / 343.4 MB, free: 4.277 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004361/0.1028, allocations: 1.654 MB / 345.1 MB, free: 2.617 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.1042, allocations: 0.616 MB / 345.7 MB, free: 2 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003821/0.1081, allocations: 3.342 MB / 349 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002854/0.111, allocations: 2.576 MB / 351.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001767/0.1127, allocations: 1.254 MB / 352.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002179/0.1149, allocations: 1.67 MB / 354.5 MB, free: 9.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006914/0.1156, allocations: 256 kB / 354.8 MB, free: 8.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001977/0.1176, allocations: 1.022 MB / 355.8 MB, free: 7.816 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001514/0.1192, allocations: 1.555 MB / 357.3 MB, free: 6.258 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002372/0.1215, allocations: 1.844 MB / 359.2 MB, free: 4.402 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005692/0.1273, allocations: 5.635 MB / 364.8 MB, free: 14.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1273, allocations: 4 kB / 364.8 MB, free: 14.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1273, allocations: 0 / 364.8 MB, free: 14.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001501/0.1274, allocations: 0 / 364.8 MB, free: 14.75 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.007794/0.1352, allocations: 4.045 MB / 368.9 MB, free: 10.63 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.1353, allocations: 8.031 kB / 368.9 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001099/0.1364, allocations: 0.6082 MB / 369.5 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006256/0.1427, allocations: 1.782 MB / 371.3 MB, free: 8.219 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004086/0.1468, allocations: 2.4 MB / 373.7 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/0.147, allocations: 196.8 kB / 373.9 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006869/0.1477, allocations: 251.9 kB / 374.1 MB, free: 5.316 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1377/0.2853, allocations: 8.412 MB / 382.5 MB, free: 47.63 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002698/0.2857, allocations: 42.81 kB / 382.6 MB, free: 47.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007651/0.2864, allocations: 133.6 kB / 382.7 MB, free: 47.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003181/0.2896, allocations: 1.693 MB / 384.4 MB, free: 47.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01368/0.3033, allocations: 7.096 MB / 391.5 MB, free: 45.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03085/0.3342, allocations: 34.18 MB / 425.7 MB, free: 15.06 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00629/0.3405, allocations: 3.275 MB / 428.9 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001622/0.3422, allocations: 1.455 MB / 430.4 MB, free: 10.15 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005813/0.348, allocations: 4.382 MB / 434.8 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.3481, allocations: 43.12 kB / 434.8 MB, free: 5.539 MB / 318.1 MB Notification: Performance of pre-optimization done (n=121): time 3.406e-06/0.3481, allocations: 4 kB / 434.8 MB, free: 5.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=129): time 0.02717/0.3753, allocations: 11.58 MB / 446.4 MB, free: 9.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.3754, allocations: 137.2 kB / 446.5 MB, free: 9.656 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005437/0.3808, allocations: 3.738 MB / 450.3 MB, free: 5.926 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001534/0.381, allocations: 45.7 kB / 450.3 MB, free: 5.875 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001709/0.3827, allocations: 2.755 MB / 453.1 MB, free: 3.086 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005334/0.3833, allocations: 0.5248 MB / 453.6 MB, free: 2.555 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001347/0.3846, allocations: 1.079 MB / 454.7 MB, free: 1.465 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 7.848e-05/0.3847, allocations: 309 kB / 455 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002255/0.387, allocations: 1.689 MB / 456.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00413/0.3911, allocations: 5.115 MB / 461.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007012/0.3981, allocations: 7.392 MB / 469.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.127e-05/0.3982, allocations: 36 kB / 469.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.009734/0.408, allocations: 6.695 MB / 475.9 MB, free: 8.773 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.597e-05/0.4081, allocations: 63.94 kB / 476 MB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001293/0.4082, allocations: 126.9 kB / 476.1 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006073/0.4088, allocations: 320.7 kB / 476.4 MB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003454/0.4123, allocations: 1.236 MB / 477.6 MB, free: 7.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002452/0.4148, allocations: 2.504 MB / 480.1 MB, free: 4.391 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003122/0.4179, allocations: 291 kB / 480.4 MB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005014/0.4184, allocations: 332 kB / 480.7 MB, free: 3.785 MB / 366.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.002356/0.4208, allocations: 1.787 MB / 482.5 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005476/0.4213, allocations: 308 kB / 482.8 MB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004591/0.4259, allocations: 2.367 MB / 485.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.732e-05/0.426, allocations: 16 kB / 485.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.426, allocations: 4 kB / 485.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/0.426, allocations: 11.91 kB / 485.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/0.4366, allocations: 5.926 MB / 491.2 MB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.946e-06/0.4366, allocations: 0 / 491.2 MB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007823/0.4374, allocations: 179.7 kB / 491.3 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002117/0.4396, allocations: 0.7155 MB / 492 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.4397, allocations: 27.98 kB / 492.1 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00551/0.4452, allocations: 4.814 MB / 496.9 MB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4452, allocations: 4 kB / 496.9 MB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006224/0.4514, allocations: 4.313 MB / 0.4895 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/0.4525, allocations: 0.5321 MB / 0.49 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004553/0.4529, allocations: 19.94 kB / 0.49 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.4541, allocations: 72.31 kB / 0.4901 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/0.4543, allocations: 64.56 kB / 0.4901 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.711e-05/0.4544, allocations: 35.91 kB / 0.4902 GB, free: 14.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003407/0.4578, allocations: 2.339 MB / 0.4924 GB, free: 11.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4578, allocations: 0 / 0.4924 GB, free: 11.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003802/0.4616, allocations: 0.8215 MB / 0.4933 GB, free: 11.16 MB / 398.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.006904/0.4685, allocations: 4.964 MB / 0.4981 GB, free: 6.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00686/0.4754, allocations: 4.406 MB / 0.5024 GB, free: 1.785 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.4754, allocations: 0 / 0.5024 GB, free: 1.785 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001391/0.4768, allocations: 1.111 MB / 0.5035 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002294/0.4792, allocations: 388.5 kB / 0.5039 GB, free: 292 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1877/0.6669, allocations: 42.35 MB / 0.5452 GB, free: 134.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003895/0.6708, allocations: 2.785 MB / 0.5479 GB, free: 133.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003795/0.6746, allocations: 1.664 MB / 0.5496 GB, free: 133.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001781/0.6764, allocations: 1.525 MB / 0.551 GB, free: 132.3 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.6764, allocations: 1.688 kB / 0.551 GB, free: 132.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08106/0.7575, allocations: 61.27 MB / 0.6109 GB, free: 78.56 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.65, allocations: 4.484 kB / 0.6109 GB, free: 78.56 MB / 430.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