Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001295/0.001295, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001197/0.001197, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2194/0.2194, allocations: 46.1 MB / 344.1 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 80.27 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1276, allocations: 62.44 MB / 480.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01569/0.1434, allocations: 14.96 MB / 495.1 MB, free: 6.125 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01047/0.1539, allocations: 5.015 MB / 0.4884 GB, free: 1.098 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00244/0.1564, allocations: 103.7 kB / 0.4885 GB, free: 0.9961 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00761/0.164, allocations: 4.007 MB / 0.4924 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006514/0.1706, allocations: 2.319 MB / 0.4947 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002916/0.1735, allocations: 1.166 MB / 0.4958 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009086/0.1826, allocations: 6.573 MB / 0.5022 GB, free: 2.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3082/0.4909, allocations: 4.685 MB / 0.5068 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005046/0.496, allocations: 2.208 MB / 0.5089 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005806/0.5018, allocations: 3.014 MB / 0.5119 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002497/0.5043, allocations: 456.8 kB / 0.5123 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004804/0.5091, allocations: 1.531 MB / 0.5138 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007535/0.5167, allocations: 2.665 MB / 0.5164 GB, free: 13.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01066/0.5274, allocations: 3.131 MB / 0.5195 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01695/0.5444, allocations: 9.45 MB / 0.5287 GB, free: 9.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.5444, allocations: 0 / 0.5287 GB, free: 9.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.5444, allocations: 0 / 0.5287 GB, free: 9.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004697/0.5449, allocations: 0 / 0.5287 GB, free: 9.445 MB / 382.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.0282/0.5731, allocations: 6.999 MB / 0.5355 GB, free: 4.848 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.225e-05/0.5732, allocations: 11.25 kB / 0.5356 GB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003596/0.5768, allocations: 0.9212 MB / 0.5365 GB, free: 4.254 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1681/0.745, allocations: 12.5 MB / 0.5487 GB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01493/0.7599, allocations: 4.473 MB / 0.553 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005327/0.7605, allocations: 311.3 kB / 0.5533 GB, free: 7.848 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002463/0.763, allocations: 432.6 kB / 0.5537 GB, free: 7.469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0318/0.7949, allocations: 13.69 MB / 0.5671 GB, free: 9.152 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001908/0.7951, allocations: 58.77 kB / 0.5672 GB, free: 9.121 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007287/0.7958, allocations: 199.8 kB / 0.5674 GB, free: 8.969 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004085/0.7999, allocations: 2.523 MB / 0.5698 GB, free: 6.484 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02617/0.8261, allocations: 11.55 MB / 0.5811 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07161/0.8978, allocations: 53.08 MB / 0.6329 GB, free: 5.258 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01627/0.9141, allocations: 5.814 MB / 0.6386 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00466/0.9188, allocations: 3.383 MB / 0.6419 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.024/0.9429, allocations: 14.87 MB / 0.6564 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.867e-05/0.9429, allocations: 59.19 kB / 0.6565 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=227): time 5.841e-06/0.943, allocations: 0 / 0.6565 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=264): time 0.0914/1.034, allocations: 26.21 MB / 0.6821 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001453/1.035, allocations: 269.2 kB / 0.6823 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01031/1.045, allocations: 5.065 MB / 0.6873 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005942/1.045, allocations: 66.88 kB / 0.6874 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003104/1.049, allocations: 3.948 MB / 0.6912 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0014/1.05, allocations: 0.9965 MB / 0.6922 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002198/1.052, allocations: 1.464 MB / 0.6936 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001044/1.052, allocations: 301.1 kB / 0.6939 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004149/1.057, allocations: 2.732 MB / 0.6966 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007971/1.064, allocations: 7.081 MB / 0.7035 GB, free: 10.25 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3093/1.374, allocations: 10.65 MB / 0.7139 GB, free: 169 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002004/1.374, allocations: 44.12 kB / 0.7139 GB, free: 169 MB / 0.545 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.0219/1.396, allocations: 10.12 MB / 0.7238 GB, free: 168.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001214/1.396, allocations: 69.62 kB / 0.7239 GB, free: 168.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002579/1.396, allocations: 152.1 kB / 0.724 GB, free: 168.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001929/1.398, allocations: 0.7075 MB / 0.7247 GB, free: 168.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006661/1.405, allocations: 1.772 MB / 0.7264 GB, free: 168.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006985/1.412, allocations: 6.861 MB / 0.7331 GB, free: 165.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006131/1.418, allocations: 410.5 kB / 0.7335 GB, free: 165.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001231/1.419, allocations: 441.6 kB / 0.7339 GB, free: 165.5 MB / 0.545 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.005368/1.425, allocations: 2.633 MB / 0.7365 GB, free: 164.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009878/1.426, allocations: 472.5 kB / 0.737 GB, free: 164.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006794/1.433, allocations: 4.381 MB / 0.7412 GB, free: 162.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.144e-05/1.433, allocations: 34.33 kB / 0.7413 GB, free: 162.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/1.433, allocations: 7.688 kB / 0.7413 GB, free: 162.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.421e-05/1.433, allocations: 15.8 kB / 0.7413 GB, free: 162.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01883/1.452, allocations: 10.83 MB / 0.7519 GB, free: 158.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.246e-05/1.452, allocations: 4 kB / 0.7519 GB, free: 158.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002368/1.454, allocations: 498.1 kB / 0.7524 GB, free: 158.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001236/1.455, allocations: 494.2 kB / 0.7528 GB, free: 158.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001968/1.456, allocations: 44.52 kB / 0.7529 GB, free: 158.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005537/1.461, allocations: 6.216 MB / 0.7589 GB, free: 153.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.461, allocations: 3.891 kB / 0.7589 GB, free: 153.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008956/1.47, allocations: 7.621 MB / 0.7664 GB, free: 146.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001674/1.472, allocations: 0.4906 MB / 0.7669 GB, free: 146.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007548/1.473, allocations: 43.33 kB / 0.7669 GB, free: 146.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002043/1.475, allocations: 158.6 kB / 0.7671 GB, free: 146 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003897/1.475, allocations: 147.7 kB / 0.7672 GB, free: 145.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000167/1.475, allocations: 71.98 kB / 0.7673 GB, free: 145.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005026/1.48, allocations: 3.18 MB / 0.7704 GB, free: 142.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/1.48, allocations: 0.5625 kB / 0.7704 GB, free: 142.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007387/1.488, allocations: 1.282 MB / 0.7716 GB, free: 141.4 MB / 0.545 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.009081/1.497, allocations: 8.33 MB / 0.7798 GB, free: 133 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01466/1.511, allocations: 9.475 MB / 0.789 GB, free: 123.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.751e-05/1.511, allocations: 4 kB / 0.789 GB, free: 123.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002776/1.514, allocations: 2.369 MB / 0.7913 GB, free: 121.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004117/1.518, allocations: 0.628 MB / 0.7919 GB, free: 120.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08457/1.603, allocations: 69.5 MB / 0.8598 GB, free: 41.61 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003878/1.607, allocations: 4.101 MB / 0.8638 GB, free: 37.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005589/1.613, allocations: 2.365 MB / 0.8661 GB, free: 35.11 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003348/1.616, allocations: 2.631 MB / 0.8687 GB, free: 32.47 MB / 0.545 GB Notification: Performance of SimCode: time 1.102e-06/1.616, allocations: 0 / 0.8687 GB, free: 32.47 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4136/2.03, allocations: 96.31 MB / 0.9628 GB, free: 203.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/14.24, allocations: 10.86 kB / 0.9628 GB, free: 203.7 MB / 0.5762 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Forces_LineForceWithMass.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches