Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.ThreeSprings,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",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.001862/0.001862, allocations: 103 kB / 17.58 MB, free: 5.426 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.002315/0.002315, allocations: 192.2 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.805/2.805, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.002488/0.002488, allocations: 52.14 kB / 280.8 MB, free: 3.074 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1748, allocations: 46.63 MB / 327.4 MB, free: 4.371 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.02261/0.1975, allocations: 10.72 MB / 338.1 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01548/0.2131, allocations: 3.94 MB / 342.1 MB, free: 5.633 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003683/0.2169, allocations: 59.81 kB / 342.1 MB, free: 5.574 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009745/0.2267, allocations: 2.589 MB / 344.7 MB, free: 2.977 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009161/0.2359, allocations: 1.739 MB / 346.4 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003328/0.2393, allocations: 0.6941 MB / 347.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.009332/0.2487, allocations: 3.689 MB / 350.8 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008798/0.2575, allocations: 3.562 MB / 354.4 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004917/0.2625, allocations: 1.476 MB / 355.9 MB, free: 7.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00585/0.2684, allocations: 1.954 MB / 357.8 MB, free: 5.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002196/0.2707, allocations: 316 kB / 358.1 MB, free: 5.461 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005436/0.2762, allocations: 1.166 MB / 359.3 MB, free: 4.293 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005172/0.2814, allocations: 1.819 MB / 361.1 MB, free: 2.469 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007079/0.2886, allocations: 2.148 MB / 363.3 MB, free: 316 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01578/0.3044, allocations: 6.472 MB / 369.7 MB, free: 9.816 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.183e-05/0.3045, allocations: 0 / 369.7 MB, free: 9.816 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.707e-06/0.3045, allocations: 0 / 369.7 MB, free: 9.816 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003439/0.3049, allocations: 3.938 kB / 369.7 MB, free: 9.812 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.02614/0.3311, allocations: 4.592 MB / 374.3 MB, free: 5.152 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.968e-05/0.3312, allocations: 19.97 kB / 374.3 MB, free: 5.133 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004007/0.3352, allocations: 0.7197 MB / 375.1 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01479/0.35, allocations: 1.883 MB / 376.9 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01019/0.3603, allocations: 2.45 MB / 379.4 MB, free: 12 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.3154/0.6757, allocations: 241.9 kB / 379.6 MB, free: 49.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00194/0.6777, allocations: 392.9 kB / 380 MB, free: 49.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02354/0.7013, allocations: 10.06 MB / 390.1 MB, free: 45.42 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001203/0.7015, allocations: 40.19 kB / 390.1 MB, free: 45.39 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004543/0.7019, allocations: 159.5 kB / 390.3 MB, free: 45.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002984/0.7049, allocations: 1.86 MB / 392.1 MB, free: 44.97 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02223/0.7272, allocations: 8.322 MB / 400.5 MB, free: 40.2 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06665/0.7939, allocations: 39.38 MB / 439.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01818/0.8121, allocations: 4.002 MB / 443.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004055/0.8163, allocations: 1.431 MB / 445.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02027/0.8366, allocations: 7.598 MB / 452.9 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001062/0.8368, allocations: 51.56 kB / 452.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of pre-optimization done (n=152): time 1.099e-05/0.8368, allocations: 0 / 452.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=159): time 0.06553/0.9024, allocations: 12.43 MB / 465.3 MB, free: 5.637 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002573/0.905, allocations: 1.691 MB / 467 MB, free: 3.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01277/0.9178, allocations: 3.833 MB / 470.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005252/0.9184, allocations: 49.97 kB / 470.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00436/0.9228, allocations: 3.118 MB / 474 MB, free: 12.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001618/0.9245, allocations: 0.6481 MB / 474.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005016/0.9295, allocations: 1.257 MB / 475.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.9298, allocations: 305.1 kB / 476.2 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006992/0.9368, allocations: 2.011 MB / 478.2 MB, free: 8.477 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01213/0.949, allocations: 5.938 MB / 484.2 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0182/0.9672, allocations: 8.562 MB / 492.7 MB, free: 6.043 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002183/0.9675, allocations: 43.94 kB / 492.8 MB, free: 6 MB / 382.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.03793/1.005, allocations: 8.77 MB / 0.4898 GB, free: 13.21 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005276/1.006, allocations: 64 kB / 0.4899 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01085/1.017, allocations: 2.795 MB / 0.4926 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008486/1.026, allocations: 1.534 MB / 0.4941 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005449/1.031, allocations: 1.369 MB / 0.4954 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007796/1.039, allocations: 5.802 MB / 0.5011 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005355/1.044, allocations: 395.3 kB / 0.5015 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001331/1.046, allocations: 392 kB / 0.5018 GB, free: 0.5352 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (738): * Single equations (assignments): 728 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of prepare postOptimizeDAE: time 0.00535/1.051, allocations: 2.009 MB / 0.5038 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001301/1.052, allocations: 331.7 kB / 0.5041 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009769/1.062, allocations: 3.137 MB / 0.5072 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008161/1.07, allocations: 2.679 MB / 0.5098 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.64e-05/1.07, allocations: 8 kB / 0.5098 GB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.494e-05/1.07, allocations: 3.984 kB / 0.5098 GB, free: 8.305 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03202/1.102, allocations: 8.575 MB / 0.5182 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.903e-05/1.103, allocations: 4 kB / 0.5182 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001979/1.105, allocations: 195.7 kB / 0.5184 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009254/1.114, allocations: 1.444 MB / 0.5198 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004412/1.114, allocations: 35.98 kB / 0.5198 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01093/1.125, allocations: 6.002 MB / 0.5257 GB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00175/1.127, allocations: 1.543 MB / 0.5272 GB, free: 5.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0123/1.139, allocations: 5.307 MB / 0.5324 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/1.141, allocations: 368.7 kB / 0.5327 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009166/1.142, allocations: 40.16 kB / 0.5328 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00211/1.144, allocations: 115.8 kB / 0.5329 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.3392/1.483, allocations: 93.06 kB / 0.533 GB, free: 141.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004848/1.484, allocations: 43.31 kB / 0.533 GB, free: 141.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.006967/1.491, allocations: 2.363 MB / 0.5353 GB, free: 141.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.593e-06/1.491, allocations: 0 / 0.5353 GB, free: 141.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007586/1.498, allocations: 0.9975 MB / 0.5363 GB, free: 141.8 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * 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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01188/1.51, allocations: 5.766 MB / 0.5419 GB, free: 139.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01255/1.523, allocations: 5.927 MB / 0.5477 GB, free: 137.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/1.523, allocations: 0 / 0.5477 GB, free: 137.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004219/1.527, allocations: 2.037 MB / 0.5497 GB, free: 137 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003444/1.531, allocations: 390.3 kB / 0.5501 GB, free: 136.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1093/1.64, allocations: 50.43 MB / 0.5993 GB, free: 88.43 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00917/1.649, allocations: 3.117 MB / 0.6024 GB, free: 85.29 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.01005/1.659, allocations: 1.8 MB / 0.6041 GB, free: 83.48 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005238/1.665, allocations: 1.768 MB / 0.6058 GB, free: 81.71 MB / 430.1 MB Notification: Performance of SimCode: time 2.555e-06/1.665, allocations: 0 / 0.6058 GB, free: 81.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1976/1.862, allocations: 69.82 MB / 0.674 GB, free: 11.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 21.57/23.44, allocations: 12.42 kB / 0.674 GB, free: 11.72 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches