Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_LineForceWithMass",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.001269/0.001269, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001284/0.001284, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.469/1.469, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2242/0.2242, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 63.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3386, allocations: 60.81 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.0163/0.3549, allocations: 15 MB / 0.5331 GB, free: 8.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01189/0.3668, allocations: 4.989 MB / 0.538 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003138/0.37, allocations: 106.6 kB / 0.5381 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008223/0.3782, allocations: 4.013 MB / 0.542 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007667/0.386, allocations: 2.358 MB / 0.5443 GB, free: 212 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003249/0.3892, allocations: 1.161 MB / 0.5454 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01069/0.3999, allocations: 6.509 MB / 0.5518 GB, free: 9.914 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007004/0.407, allocations: 4.7 MB / 0.5564 GB, free: 5.148 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004141/0.4111, allocations: 2.216 MB / 0.5585 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005422/0.4166, allocations: 3.026 MB / 0.5615 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00175/0.4184, allocations: 456 kB / 0.5619 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003732/0.4221, allocations: 1.541 MB / 0.5634 GB, free: 13.9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00339/0.4255, allocations: 2.692 MB / 0.5661 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004896/0.4304, allocations: 3.146 MB / 0.5691 GB, free: 8.039 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01319/0.4437, allocations: 9.829 MB / 0.5787 GB, free: 14.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/0.4437, allocations: 4 kB / 0.5787 GB, free: 14.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4437, allocations: 0 / 0.5787 GB, free: 14.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003009/0.444, allocations: 0 / 0.5787 GB, free: 14.17 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.01996/0.464, allocations: 7.18 MB / 0.5857 GB, free: 6.895 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.464, allocations: 12.03 kB / 0.5857 GB, free: 6.883 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001961/0.466, allocations: 0.914 MB / 0.5866 GB, free: 5.957 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1796/0.6457, allocations: 12.54 MB / 0.5989 GB, free: 9.391 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01187/0.6576, allocations: 4.806 MB / 0.6036 GB, free: 4.5 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000298/0.6579, allocations: 312.1 kB / 0.6039 GB, free: 4.191 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001454/0.6594, allocations: 427.8 kB / 0.6043 GB, free: 3.773 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0283/0.6877, allocations: 13.67 MB / 0.6176 GB, free: 5.234 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001751/0.6879, allocations: 59.56 kB / 0.6177 GB, free: 5.176 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007532/0.6887, allocations: 203.8 kB / 0.6179 GB, free: 4.977 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004458/0.6931, allocations: 2.519 MB / 0.6204 GB, free: 2.453 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0263/0.7195, allocations: 11.54 MB / 0.6316 GB, free: 6.898 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07637/0.7959, allocations: 52.92 MB / 0.6833 GB, free: 484 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01694/0.8128, allocations: 5.803 MB / 0.689 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005212/0.8181, allocations: 3.385 MB / 0.6923 GB, free: 7.121 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02564/0.8438, allocations: 14.8 MB / 0.7067 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.516e-05/0.8439, allocations: 64.44 kB / 0.7068 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=227): time 5.831e-06/0.8439, allocations: 0 / 0.7068 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of matching and sorting (n=264): time 0.338/1.182, allocations: 26.49 MB / 0.7327 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.124e-05/1.182, allocations: 265.4 kB / 0.7329 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006178/1.188, allocations: 5.086 MB / 0.7379 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004912/1.189, allocations: 68.83 kB / 0.7379 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002026/1.191, allocations: 4.104 MB / 0.7419 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001019/1.192, allocations: 1.028 MB / 0.7429 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001701/1.193, allocations: 1.481 MB / 0.7444 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.873e-05/1.194, allocations: 301.1 kB / 0.7447 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003194/1.197, allocations: 2.728 MB / 0.7473 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004701/1.201, allocations: 7.083 MB / 0.7543 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009296/1.211, allocations: 10.64 MB / 0.7647 GB, free: 137 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.518e-05/1.211, allocations: 44 kB / 0.7647 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.01566/1.227, allocations: 10.14 MB / 0.7746 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.357e-05/1.227, allocations: 71.94 kB / 0.7747 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001262/1.227, allocations: 155.9 kB / 0.7748 GB, free: 126.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0015/1.228, allocations: 0.7112 MB / 0.7755 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005662/1.234, allocations: 1.767 MB / 0.7772 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005882/1.24, allocations: 6.854 MB / 0.7839 GB, free: 117 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006261/1.246, allocations: 411.5 kB / 0.7843 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001097/1.247, allocations: 436 kB / 0.7847 GB, free: 116.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (913): * Single equations (assignments): 908 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004108/1.251, allocations: 2.633 MB / 0.7873 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001106/1.253, allocations: 496.7 kB / 0.7878 GB, free: 113 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005965/1.259, allocations: 4.38 MB / 0.7921 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-05/1.259, allocations: 28 kB / 0.7921 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/1.259, allocations: 7.984 kB / 0.7921 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.898e-05/1.259, allocations: 7.969 kB / 0.7921 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01536/1.274, allocations: 10.74 MB / 0.8026 GB, free: 97.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.049e-05/1.274, allocations: 0 / 0.8026 GB, free: 97.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00244/1.276, allocations: 499.2 kB / 0.8031 GB, free: 97.35 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001322/1.278, allocations: 497.2 kB / 0.8035 GB, free: 96.86 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002824/1.278, allocations: 40 kB / 0.8036 GB, free: 96.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005162/1.283, allocations: 6.215 MB / 0.8096 GB, free: 90.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.283, allocations: 3.938 kB / 0.8097 GB, free: 90.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009126/1.292, allocations: 7.645 MB / 0.8171 GB, free: 82.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001511/1.294, allocations: 0.5095 MB / 0.8176 GB, free: 82.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00058/1.295, allocations: 47.59 kB / 0.8177 GB, free: 82.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001848/1.296, allocations: 151.9 kB / 0.8178 GB, free: 81.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000337/1.297, allocations: 149.7 kB / 0.8179 GB, free: 81.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001681/1.297, allocations: 71.98 kB / 0.818 GB, free: 81.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003939/1.301, allocations: 3.184 MB / 0.8211 GB, free: 78.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/1.301, allocations: 0 / 0.8211 GB, free: 78.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006212/1.307, allocations: 1.301 MB / 0.8224 GB, free: 77.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (224): * Single equations (assignments): 219 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009085/1.316, allocations: 8.34 MB / 0.8305 GB, free: 68.77 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009349/1.326, allocations: 6.795 MB / 0.8372 GB, free: 61.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/1.326, allocations: 4 kB / 0.8372 GB, free: 61.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003163/1.329, allocations: 2.371 MB / 0.8395 GB, free: 59.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005189/1.334, allocations: 0.6263 MB / 0.8401 GB, free: 58.96 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07637/1.41, allocations: 59.14 MB / 0.8979 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005783/1.416, allocations: 4.101 MB / 0.9019 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006124/1.422, allocations: 2.385 MB / 0.9042 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004672/1.427, allocations: 2.624 MB / 0.9068 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of SimCode: time 1.532e-06/1.427, allocations: 0 / 0.9068 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4291/1.856, allocations: 91.87 MB / 0.9965 GB, free: 191.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.14/34, allocations: 8.297 kB / 0.9965 GB, free: 191.5 MB / 0.6231 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_LineForceWithMass.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches