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.001525/0.001525, allocations: 106.9 kB / 16.92 MB, free: 5.781 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.00167/0.001671, allocations: 191.3 kB / 17.85 MB, free: 5.195 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.249/1.249, allocations: 222.9 MB / 241.6 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009465/0.0009465, allocations: 44.03 kB / 300.7 MB, free: 5.773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07607/0.07703, allocations: 49.45 MB / 350.2 MB, free: 4.316 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.009984/0.08704, allocations: 10.21 MB / 360.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0063/0.09337, allocations: 3.786 MB / 364.2 MB, free: 6.246 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/0.0945, allocations: 59.81 kB / 364.2 MB, free: 6.188 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003366/0.0979, allocations: 1.946 MB / 366.2 MB, free: 4.234 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003316/0.1012, allocations: 1.657 MB / 367.8 MB, free: 2.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.1025, allocations: 0.6159 MB / 368.5 MB, free: 1.953 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1432/0.2457, allocations: 3.315 MB / 371.8 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002722/0.2484, allocations: 2.576 MB / 374.3 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001499/0.25, allocations: 1.238 MB / 375.6 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001953/0.2519, allocations: 1.667 MB / 377.2 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005557/0.2525, allocations: 253.8 kB / 377.5 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001831/0.2543, allocations: 1.037 MB / 378.5 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001456/0.2558, allocations: 1.562 MB / 380.1 MB, free: 8.988 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001499/0.2573, allocations: 1.827 MB / 381.9 MB, free: 8.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006213/0.2635, allocations: 5.639 MB / 387.6 MB, free: 6.426 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2636, allocations: 0 / 387.6 MB, free: 6.426 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2636, allocations: 0 / 387.6 MB, free: 6.426 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002086/0.2638, allocations: 0 / 387.6 MB, free: 6.426 MB / 302.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.007906/0.2717, allocations: 4.028 MB / 391.6 MB, free: 3.684 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.2718, allocations: 9.625 kB / 391.6 MB, free: 3.684 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008562/0.2726, allocations: 0.607 MB / 392.2 MB, free: 3.293 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0059/0.2785, allocations: 1.783 MB / 394 MB, free: 2.367 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003218/0.2818, allocations: 2.23 MB / 396.2 MB, free: 1.059 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.627e-05/0.2819, allocations: 189.4 kB / 396.4 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003787/0.2823, allocations: 258.4 kB / 396.7 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01093/0.2932, allocations: 8.426 MB / 405.1 MB, free: 9.867 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-05/0.2933, allocations: 41.34 kB / 405.1 MB, free: 9.844 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003044/0.2936, allocations: 125.1 kB / 405.2 MB, free: 9.754 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002488/0.2961, allocations: 1.697 MB / 406.9 MB, free: 8.078 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01132/0.3074, allocations: 7.091 MB / 414 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03819/0.3456, allocations: 34.17 MB / 448.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00739/0.3531, allocations: 3.277 MB / 451.5 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001975/0.3551, allocations: 1.464 MB / 452.9 MB, free: 9.535 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007355/0.3625, allocations: 4.354 MB / 457.3 MB, free: 5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.3625, allocations: 41.75 kB / 457.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of pre-optimization done (n=121): time 4.418e-06/0.3625, allocations: 0 / 457.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of matching and sorting (n=129): time 0.03058/0.3931, allocations: 11.53 MB / 468.9 MB, free: 9.312 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.251e-05/0.3932, allocations: 141.2 kB / 469 MB, free: 9.145 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006454/0.3997, allocations: 3.722 MB / 472.7 MB, free: 5.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002946/0.4, allocations: 45.7 kB / 472.8 MB, free: 5.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002125/0.4022, allocations: 2.748 MB / 475.5 MB, free: 2.633 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006777/0.4029, allocations: 0.5239 MB / 476 MB, free: 2.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001406/0.4043, allocations: 1.074 MB / 477.1 MB, free: 1.031 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.912e-05/0.4044, allocations: 312.4 kB / 477.4 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002249/0.4066, allocations: 1.689 MB / 479.1 MB, free: 15.03 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004679/0.4113, allocations: 5.12 MB / 484.2 MB, free: 8.242 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00811/0.4194, allocations: 7.399 MB / 491.6 MB, free: 15.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.864e-05/0.4195, allocations: 36 kB / 491.7 MB, free: 15.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01008/0.4296, allocations: 6.694 MB / 498.4 MB, free: 8.535 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.4297, allocations: 59.94 kB / 498.4 MB, free: 8.477 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001832/0.4299, allocations: 129.8 kB / 498.5 MB, free: 8.352 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000659/0.4306, allocations: 328.7 kB / 498.9 MB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003574/0.4342, allocations: 1.236 MB / 0.4884 GB, free: 6.789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00255/0.4368, allocations: 2.5 MB / 0.4908 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003701/0.4405, allocations: 285.8 kB / 0.4911 GB, free: 3.871 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006495/0.4411, allocations: 328 kB / 0.4914 GB, free: 3.551 MB / 414.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.002948/0.4441, allocations: 1.787 MB / 0.4932 GB, free: 1.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007072/0.4448, allocations: 315.9 kB / 0.4935 GB, free: 1.438 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004749/0.4496, allocations: 2.367 MB / 0.4958 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.081e-05/0.4496, allocations: 19.91 kB / 0.4958 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.4496, allocations: 4 kB / 0.4958 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.4497, allocations: 7.828 kB / 0.4958 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01201/0.4617, allocations: 5.919 MB / 0.5016 GB, free: 9.062 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.698e-05/0.4617, allocations: 7.938 kB / 0.5016 GB, free: 9.055 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007897/0.4625, allocations: 163.8 kB / 0.5017 GB, free: 8.895 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00213/0.4646, allocations: 0.7225 MB / 0.5024 GB, free: 8.168 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/0.4648, allocations: 20 kB / 0.5025 GB, free: 8.148 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006016/0.4708, allocations: 4.805 MB / 0.5072 GB, free: 3.207 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.4708, allocations: 4.031 kB / 0.5072 GB, free: 3.203 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006757/0.4776, allocations: 4.323 MB / 0.5114 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009727/0.4786, allocations: 360.9 kB / 0.5117 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008058/0.4794, allocations: 23.98 kB / 0.5117 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001524/0.4809, allocations: 75.92 kB / 0.5118 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001948/0.4811, allocations: 64.56 kB / 0.5119 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.823e-05/0.4812, allocations: 38.64 kB / 0.5119 GB, free: 14.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004515/0.4857, allocations: 2.323 MB / 0.5142 GB, free: 11.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4858, allocations: 3.938 kB / 0.5142 GB, free: 11.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004736/0.4905, allocations: 0.8164 MB / 0.515 GB, free: 11.15 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.007008/0.4975, allocations: 4.976 MB / 0.5198 GB, free: 6.137 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006916/0.5045, allocations: 4.397 MB / 0.5241 GB, free: 1.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.5045, allocations: 0 / 0.5241 GB, free: 1.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001464/0.5059, allocations: 1.107 MB / 0.5252 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002856/0.5088, allocations: 395.9 kB / 0.5256 GB, free: 256 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2091/0.7179, allocations: 42.21 MB / 0.5668 GB, free: 122.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002443/0.7204, allocations: 2.778 MB / 0.5695 GB, free: 120.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003294/0.7237, allocations: 1.66 MB / 0.5712 GB, free: 119.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001541/0.7253, allocations: 1.521 MB / 0.5726 GB, free: 117.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.283e-06/0.7253, allocations: 0 / 0.5726 GB, free: 117.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7231/1.448, allocations: 61.13 MB / 0.6323 GB, free: 56.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/14.8, allocations: 10.38 kB / 0.6323 GB, free: 56.97 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