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.001328/0.001328, allocations: 96.64 kB / 16.5 MB, free: 6.688 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.001456/0.001456, allocations: 192.5 kB / 17.42 MB, free: 6.09 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.415/1.415, allocations: 222.9 MB / 241.1 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000993/0.0009931, allocations: 50.27 kB / 300.1 MB, free: 6.191 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08144/0.08245, allocations: 49.44 MB / 349.5 MB, free: 4.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.1655/0.248, allocations: 34.67 MB / 384.2 MB, free: 7.766 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01358/0.2616, allocations: 7.895 MB / 392.1 MB, free: 3.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005091/0.2667, allocations: 151.8 kB / 392.2 MB, free: 3.223 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003277/0.2701, allocations: 1.926 MB / 394.2 MB, free: 2.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004276/0.2744, allocations: 1.556 MB / 395.7 MB, free: 1.668 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.2756, allocations: 0.5515 MB / 396.3 MB, free: 1.438 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004305/0.2799, allocations: 4.736 MB / 401 MB, free: 15.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002555/0.2825, allocations: 2.539 MB / 403.5 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001307/0.2838, allocations: 1.096 MB / 404.6 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001741/0.2856, allocations: 1.795 MB / 406.4 MB, free: 11.94 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003309/0.2859, allocations: 176 kB / 406.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001694/0.2876, allocations: 1.026 MB / 407.6 MB, free: 10.74 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001297/0.2889, allocations: 1.508 MB / 409.1 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001408/0.2904, allocations: 1.774 MB / 410.9 MB, free: 7.445 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004432/0.2948, allocations: 5.572 MB / 416.5 MB, free: 1.855 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2948, allocations: 0 / 416.5 MB, free: 1.855 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.01e-07/0.2948, allocations: 4 kB / 416.5 MB, free: 1.852 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.645e-05/0.2949, allocations: 3.938 kB / 416.5 MB, free: 1.848 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.005583/0.3005, allocations: 4.022 MB / 420.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3005, allocations: 11.97 kB / 420.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000604/0.3011, allocations: 0.6082 MB / 421.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005673/0.3068, allocations: 1.786 MB / 422.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003314/0.3101, allocations: 2.221 MB / 425.1 MB, free: 9.051 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001674/0.3103, allocations: 196.8 kB / 425.3 MB, free: 8.855 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003915/0.3107, allocations: 251.8 kB / 425.6 MB, free: 8.609 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01064/0.3214, allocations: 8.427 MB / 434 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-05/0.3214, allocations: 43.59 kB / 434 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002962/0.3217, allocations: 119.9 kB / 434.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002635/0.3244, allocations: 1.703 MB / 435.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01094/0.3353, allocations: 7.098 MB / 443 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03391/0.3693, allocations: 34.15 MB / 477.1 MB, free: 3.398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006786/0.3761, allocations: 3.281 MB / 480.4 MB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001775/0.3779, allocations: 1.469 MB / 481.9 MB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006475/0.3844, allocations: 4.353 MB / 486.2 MB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.3844, allocations: 47.06 kB / 486.3 MB, free: 9.867 MB / 398.1 MB Notification: Performance of pre-optimization done (n=121): time 3.005e-06/0.3844, allocations: 0 / 486.3 MB, free: 9.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=129): time 0.02685/0.4113, allocations: 11.51 MB / 497.8 MB, free: 14.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/0.4114, allocations: 141.2 kB / 497.9 MB, free: 14.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005201/0.4166, allocations: 3.726 MB / 0.4899 GB, free: 10.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.4167, allocations: 45.64 kB / 0.4899 GB, free: 10.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001757/0.4185, allocations: 2.763 MB / 0.4926 GB, free: 7.465 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004618/0.419, allocations: 0.5171 MB / 0.4931 GB, free: 6.941 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001316/0.4203, allocations: 1.071 MB / 0.4942 GB, free: 5.859 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.704e-05/0.4204, allocations: 309.1 kB / 0.4945 GB, free: 5.555 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002307/0.4227, allocations: 1.701 MB / 0.4961 GB, free: 3.848 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004566/0.4273, allocations: 5.112 MB / 0.5011 GB, free: 13.01 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00736/0.4346, allocations: 7.401 MB / 0.5083 GB, free: 3.898 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.515e-05/0.4347, allocations: 36 kB / 0.5084 GB, free: 3.863 MB / 430.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.009953/0.4447, allocations: 6.7 MB / 0.5149 GB, free: 13.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.686e-05/0.4448, allocations: 60.25 kB / 0.515 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001526/0.445, allocations: 124 kB / 0.5151 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006181/0.4456, allocations: 316.7 kB / 0.5154 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003388/0.449, allocations: 1.24 MB / 0.5166 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/0.4513, allocations: 2.283 MB / 0.5188 GB, free: 9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002942/0.4543, allocations: 287.5 kB / 0.5191 GB, free: 8.719 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004174/0.4547, allocations: 336 kB / 0.5194 GB, free: 8.391 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.002417/0.4571, allocations: 1.787 MB / 0.5212 GB, free: 6.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005147/0.4577, allocations: 308 kB / 0.5215 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004295/0.462, allocations: 2.359 MB / 0.5238 GB, free: 3.914 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.366e-05/0.462, allocations: 23.98 kB / 0.5238 GB, free: 3.891 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.462, allocations: 4 kB / 0.5238 GB, free: 3.887 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.462, allocations: 7.969 kB / 0.5238 GB, free: 3.879 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1514/0.6135, allocations: 5.918 MB / 0.5296 GB, free: 147.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/0.6135, allocations: 3.172 kB / 0.5296 GB, free: 147.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008049/0.6143, allocations: 168.5 kB / 0.5298 GB, free: 147.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002121/0.6165, allocations: 0.7187 MB / 0.5305 GB, free: 147.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.955e-05/0.6166, allocations: 21.84 kB / 0.5305 GB, free: 147.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004829/0.6214, allocations: 4.463 MB / 0.5348 GB, free: 145.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6214, allocations: 8.812 kB / 0.5348 GB, free: 145.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006193/0.6276, allocations: 4.325 MB / 0.5391 GB, free: 144.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006591/0.6283, allocations: 363.4 kB / 0.5394 GB, free: 144 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003013/0.6286, allocations: 20.58 kB / 0.5394 GB, free: 143.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009821/0.6296, allocations: 62.59 kB / 0.5395 GB, free: 143.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/0.6298, allocations: 70.19 kB / 0.5396 GB, free: 143.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-05/0.6299, allocations: 37.48 kB / 0.5396 GB, free: 143.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002842/0.6327, allocations: 2.325 MB / 0.5419 GB, free: 143.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6327, allocations: 0 / 0.5419 GB, free: 143.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003323/0.6361, allocations: 0.8168 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.005572/0.6416, allocations: 4.97 MB / 0.5475 GB, free: 140.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004686/0.6463, allocations: 4.016 MB / 0.5514 GB, free: 139.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.6464, allocations: 0 / 0.5514 GB, free: 139.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.6475, allocations: 1.112 MB / 0.5525 GB, free: 139.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/0.6494, allocations: 372.3 kB / 0.5529 GB, free: 138.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04083/0.6902, allocations: 43.69 MB / 0.5955 GB, free: 93.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001916/0.6921, allocations: 2.784 MB / 0.5983 GB, free: 90.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003014/0.6952, allocations: 1.659 MB / 0.5999 GB, free: 88.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001345/0.6965, allocations: 1.527 MB / 0.6014 GB, free: 87.38 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.6965, allocations: 0 / 0.6014 GB, free: 87.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2002/0.8967, allocations: 59.83 MB / 0.6598 GB, free: 27.97 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/0.8969, allocations: 247.3 kB / 0.66 GB, free: 27.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.11/4.007, allocations: 4 kB / 0.66 GB, free: 27.71 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