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.001105/0.001106, allocations: 118.4 kB / 17.78 MB, free: 5.258 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.001154/0.001154, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.287/1.287, 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.2121/0.2121, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 63.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3547, allocations: 60.82 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01612/0.3709, allocations: 15.01 MB / 0.5331 GB, free: 8.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01213/0.3831, allocations: 4.993 MB / 0.538 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003547/0.3867, allocations: 101.5 kB / 0.5381 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008382/0.3951, allocations: 4.01 MB / 0.542 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007303/0.4025, allocations: 2.422 MB / 0.5443 GB, free: 140 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003212/0.4057, allocations: 1.165 MB / 0.5455 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009785/0.4156, allocations: 6.511 MB / 0.5518 GB, free: 9.805 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007055/0.4226, allocations: 4.691 MB / 0.5564 GB, free: 5.047 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004816/0.4275, allocations: 2.208 MB / 0.5586 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005184/0.4327, allocations: 3.03 MB / 0.5615 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001794/0.4346, allocations: 463.9 kB / 0.562 GB, free: 15.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004519/0.4391, allocations: 1.549 MB / 0.5635 GB, free: 13.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005351/0.4445, allocations: 2.743 MB / 0.5662 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006984/0.4516, allocations: 3.162 MB / 0.5693 GB, free: 7.859 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01509/0.4667, allocations: 9.821 MB / 0.5789 GB, free: 14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.07e-05/0.4668, allocations: 4 kB / 0.5789 GB, free: 14 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.4668, allocations: 0 / 0.5789 GB, free: 14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003678/0.4671, allocations: 0 / 0.5789 GB, free: 14 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.02129/0.4885, allocations: 7.18 MB / 0.5859 GB, free: 6.723 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.4885, allocations: 12.03 kB / 0.5859 GB, free: 6.711 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002601/0.4911, allocations: 0.9218 MB / 0.5868 GB, free: 5.777 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1676/0.6587, allocations: 12.54 MB / 0.599 GB, free: 9.219 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01223/0.671, allocations: 4.803 MB / 0.6037 GB, free: 4.332 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003311/0.6714, allocations: 312.1 kB / 0.604 GB, free: 4.023 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001715/0.6731, allocations: 423.8 kB / 0.6044 GB, free: 3.609 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02786/0.701, allocations: 13.68 MB / 0.6178 GB, free: 5.055 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002535/0.7013, allocations: 55.58 kB / 0.6178 GB, free: 5 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001395/0.7027, allocations: 195.8 kB / 0.618 GB, free: 4.809 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004425/0.7071, allocations: 2.531 MB / 0.6205 GB, free: 2.273 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02464/0.7318, allocations: 11.53 MB / 0.6317 GB, free: 6.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07048/0.8023, allocations: 52.92 MB / 0.6834 GB, free: 304 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01668/0.819, allocations: 5.802 MB / 0.6891 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004509/0.8236, allocations: 3.389 MB / 0.6924 GB, free: 6.945 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02347/0.8471, allocations: 14.8 MB / 0.7069 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.031e-05/0.8472, allocations: 56.56 kB / 0.7069 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=227): time 5.921e-06/0.8472, allocations: 8 kB / 0.7069 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of matching and sorting (n=264): time 0.3291/1.176, allocations: 26.49 MB / 0.7328 GB, free: 165 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.933e-05/1.176, allocations: 261 kB / 0.733 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006161/1.183, allocations: 5.088 MB / 0.738 GB, free: 163 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004721/1.183, allocations: 65.33 kB / 0.7381 GB, free: 163 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00198/1.185, allocations: 4.105 MB / 0.7421 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001157/1.186, allocations: 1.035 MB / 0.7431 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001805/1.188, allocations: 1.473 MB / 0.7445 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.58e-05/1.188, allocations: 305.1 kB / 0.7448 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00325/1.191, allocations: 2.726 MB / 0.7475 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004808/1.196, allocations: 7.084 MB / 0.7544 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009767/1.206, allocations: 10.65 MB / 0.7648 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001482/1.206, allocations: 44 kB / 0.7648 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.01728/1.224, allocations: 10.13 MB / 0.7747 GB, free: 126.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.392e-05/1.224, allocations: 72 kB / 0.7748 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001361/1.224, allocations: 152 kB / 0.7749 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00157/1.225, allocations: 0.7108 MB / 0.7756 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005855/1.231, allocations: 1.762 MB / 0.7774 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005776/1.237, allocations: 6.849 MB / 0.784 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006536/1.244, allocations: 411.6 kB / 0.7844 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001119/1.245, allocations: 444 kB / 0.7849 GB, free: 115.9 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.004235/1.249, allocations: 2.629 MB / 0.7874 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00107/1.25, allocations: 0.4889 MB / 0.7879 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005886/1.256, allocations: 4.377 MB / 0.7922 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.77e-05/1.256, allocations: 28 kB / 0.7922 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/1.256, allocations: 4 kB / 0.7922 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-05/1.256, allocations: 15.95 kB / 0.7922 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02056/1.277, allocations: 10.73 MB / 0.8027 GB, free: 97.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.9e-05/1.277, allocations: 0 / 0.8027 GB, free: 97.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002541/1.279, allocations: 0.4914 MB / 0.8032 GB, free: 97.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001368/1.281, allocations: 497.2 kB / 0.8037 GB, free: 96.62 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003714/1.281, allocations: 47.98 kB / 0.8037 GB, free: 96.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005445/1.287, allocations: 6.208 MB / 0.8098 GB, free: 90.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.287, allocations: 8.047 kB / 0.8098 GB, free: 90.08 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00986/1.296, allocations: 7.641 MB / 0.8172 GB, free: 82.37 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/1.298, allocations: 0.5095 MB / 0.8177 GB, free: 81.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001107/1.299, allocations: 47.28 kB / 0.8178 GB, free: 81.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002548/1.302, allocations: 155.7 kB / 0.8179 GB, free: 81.64 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004113/1.302, allocations: 145.8 kB / 0.8181 GB, free: 81.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001731/1.302, allocations: 67.98 kB / 0.8181 GB, free: 81.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004689/1.307, allocations: 3.188 MB / 0.8212 GB, free: 78.26 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.31e-07/1.307, allocations: 0 / 0.8212 GB, free: 78.26 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007971/1.315, allocations: 1.305 MB / 0.8225 GB, free: 76.96 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.01021/1.325, allocations: 8.347 MB / 0.8307 GB, free: 68.53 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008518/1.334, allocations: 6.804 MB / 0.8373 GB, free: 61.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.004e-06/1.334, allocations: 0.5625 kB / 0.8373 GB, free: 61.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002585/1.336, allocations: 2.371 MB / 0.8396 GB, free: 59.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003562/1.34, allocations: 0.6318 MB / 0.8402 GB, free: 58.72 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0704/1.41, allocations: 59.15 MB / 0.898 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005409/1.416, allocations: 4.097 MB / 0.902 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00583/1.422, allocations: 2.385 MB / 0.9043 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004716/1.427, allocations: 2.625 MB / 0.9069 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of SimCode: time 1.032e-06/1.427, allocations: 0 / 0.9069 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4117/1.838, allocations: 91.87 MB / 0.9966 GB, free: 191.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.32/31.16, allocations: 7.453 kB / 0.9966 GB, free: 191.2 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