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.001236/0.001236, allocations: 106.5 kB / 17.73 MB, free: 5.363 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.001273/0.001273, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.455/1.455, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001506/0.001506, allocations: 51.92 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09164/0.09316, allocations: 46.62 MB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.2204/0.3135, allocations: 10.75 MB / 385.4 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008241/0.3218, allocations: 3.931 MB / 389.3 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002071/0.3241, allocations: 62.31 kB / 389.4 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004957/0.329, allocations: 2.581 MB / 392 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005492/0.3345, allocations: 1.799 MB / 393.8 MB, free: 2.969 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001954/0.3365, allocations: 0.6874 MB / 394.5 MB, free: 2.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007657/0.3442, allocations: 3.693 MB / 398.1 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005485/0.3497, allocations: 3.571 MB / 401.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00339/0.3531, allocations: 1.478 MB / 403.2 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003748/0.3569, allocations: 1.96 MB / 405.2 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00115/0.3581, allocations: 314.6 kB / 405.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003057/0.3611, allocations: 1.152 MB / 406.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002319/0.3635, allocations: 1.837 MB / 408.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003331/0.3668, allocations: 2.152 MB / 410.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009459/0.3763, allocations: 6.738 MB / 417.3 MB, free: 4.938 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3763, allocations: 0 / 417.3 MB, free: 4.938 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3763, allocations: 0 / 417.3 MB, free: 4.938 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000272/0.3766, allocations: 0 / 417.3 MB, free: 4.938 MB / 334.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.01058/0.3872, allocations: 4.721 MB / 422.1 MB, free: 144 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.3873, allocations: 8.031 kB / 422.1 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00117/0.3885, allocations: 0.7197 MB / 422.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007049/0.3955, allocations: 1.917 MB / 424.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005604/0.4011, allocations: 2.478 MB / 427.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002261/0.4014, allocations: 250.2 kB / 427.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001304/0.4027, allocations: 395.7 kB / 427.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01887/0.4216, allocations: 10.07 MB / 437.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001082/0.4218, allocations: 39.62 kB / 437.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004572/0.4222, allocations: 159.9 kB / 438.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002848/0.4251, allocations: 1.857 MB / 439.9 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01758/0.4427, allocations: 8.335 MB / 448.3 MB, free: 5.141 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05241/0.4951, allocations: 39.29 MB / 487.6 MB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01063/0.5058, allocations: 3.998 MB / 491.6 MB, free: 8.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002066/0.5079, allocations: 1.431 MB / 493 MB, free: 7.129 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0116/0.5195, allocations: 7.597 MB / 0.4889 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/0.5196, allocations: 51.5 kB / 0.4889 GB, free: 14.99 MB / 430.1 MB Notification: Performance of pre-optimization done (n=152): time 5.019e-06/0.5196, allocations: 0 / 0.4889 GB, free: 14.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=159): time 0.0342/0.5538, allocations: 12.65 MB / 0.5013 GB, free: 2.164 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001606/0.5555, allocations: 1.691 MB / 0.5029 GB, free: 300 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006051/0.5615, allocations: 3.842 MB / 0.5067 GB, free: 12.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003601/0.5619, allocations: 53.64 kB / 0.5067 GB, free: 12.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002197/0.5641, allocations: 3.25 MB / 0.5099 GB, free: 9.125 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008235/0.565, allocations: 0.6747 MB / 0.5105 GB, free: 8.445 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001573/0.5665, allocations: 1.27 MB / 0.5118 GB, free: 7.164 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.5667, allocations: 301.1 kB / 0.5121 GB, free: 6.867 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003002/0.5697, allocations: 2.007 MB / 0.514 GB, free: 4.855 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005798/0.5755, allocations: 5.938 MB / 0.5198 GB, free: 12.95 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009773/0.5853, allocations: 8.572 MB / 0.5282 GB, free: 2.414 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001109/0.5854, allocations: 40 kB / 0.5282 GB, free: 2.375 MB / 462.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01733/0.6028, allocations: 8.781 MB / 0.5368 GB, free: 9.57 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/0.6029, allocations: 72.03 kB / 0.5369 GB, free: 9.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006336/0.6093, allocations: 2.793 MB / 0.5396 GB, free: 6.691 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005247/0.6146, allocations: 1.534 MB / 0.5411 GB, free: 5.141 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00429/0.6189, allocations: 1.368 MB / 0.5424 GB, free: 3.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2484/0.8673, allocations: 5.79 MB / 0.5481 GB, free: 132.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005857/0.8732, allocations: 398.2 kB / 0.5485 GB, free: 132.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001285/0.8745, allocations: 384.8 kB / 0.5489 GB, free: 132.1 MB / 478.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.00484/0.8794, allocations: 2.013 MB / 0.5508 GB, free: 131.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008217/0.8802, allocations: 351.1 kB / 0.5512 GB, free: 131.9 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007255/0.8875, allocations: 3.127 MB / 0.5542 GB, free: 131.8 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005815/0.8933, allocations: 2.69 MB / 0.5568 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/0.8934, allocations: 2.594 kB / 0.5568 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.109e-05/0.8934, allocations: 7.688 kB / 0.5568 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01497/0.9084, allocations: 8.554 MB / 0.5652 GB, free: 128.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/0.9084, allocations: 1.219 kB / 0.5652 GB, free: 128.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008739/0.9093, allocations: 198.3 kB / 0.5654 GB, free: 128.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004335/0.9137, allocations: 1.427 MB / 0.5668 GB, free: 128.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001647/0.9139, allocations: 45.23 kB / 0.5668 GB, free: 128.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005278/0.9191, allocations: 6.002 MB / 0.5727 GB, free: 124.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006943/0.9199, allocations: 1.55 MB / 0.5742 GB, free: 123 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007946/0.9278, allocations: 5.326 MB / 0.5794 GB, free: 121.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/0.9289, allocations: 393.7 kB / 0.5798 GB, free: 121 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003568/0.9292, allocations: 35.48 kB / 0.5798 GB, free: 121 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/0.9305, allocations: 118.9 kB / 0.5799 GB, free: 121 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002368/0.9308, allocations: 99.73 kB / 0.58 GB, free: 121 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/0.9309, allocations: 43.91 kB / 0.5801 GB, free: 121 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003305/0.9342, allocations: 2.35 MB / 0.5824 GB, free: 120.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.072e-06/0.9342, allocations: 2.125 kB / 0.5824 GB, free: 120.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004848/0.9391, allocations: 1.005 MB / 0.5833 GB, free: 120.1 MB / 478.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.007049/0.9461, allocations: 5.789 MB / 0.589 GB, free: 116.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008574/0.9547, allocations: 5.444 MB / 0.5943 GB, free: 111.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.9548, allocations: 7.844 kB / 0.5943 GB, free: 111.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003431/0.9582, allocations: 2.037 MB / 0.5963 GB, free: 109.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002468/0.9607, allocations: 396.7 kB / 0.5967 GB, free: 109 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05899/1.02, allocations: 45.46 MB / 0.6411 GB, free: 57.75 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002877/1.023, allocations: 3.115 MB / 0.6441 GB, free: 54.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003643/1.026, allocations: 1.802 MB / 0.6459 GB, free: 52.79 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00183/1.028, allocations: 1.769 MB / 0.6476 GB, free: 51.02 MB / 478.1 MB Notification: Performance of SimCode: time 1.843e-06/1.028, allocations: 0 / 0.6476 GB, free: 51.02 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1184/1.147, allocations: 66.2 MB / 0.7123 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 21.84/22.99, allocations: 4.062 kB / 0.7123 GB, free: 0.7695 MB / 494.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