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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009594/0.0009594, allocations: 96.27 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009083/0.0009083, allocations: 156.9 kB / 24.26 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9237/0.9237, allocations: 177 MB / 204.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2419/0.2419, allocations: 34.25 MB / 295.2 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 376.7 MB, free: 3.438 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.368e-05/1.55e-05, allocations: 6.312 kB / 376.7 MB, free: 3.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.009285/0.0093, allocations: 13.01 MB / 389.7 MB, free: 6.355 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007342/0.01664, allocations: 4.805 MB / 394.5 MB, free: 1.539 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.01788, allocations: 119.4 kB / 394.7 MB, free: 1.422 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003699/0.02158, allocations: 4.162 MB / 398.8 MB, free: 13.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003284/0.02486, allocations: 2.492 MB / 401.3 MB, free: 10.74 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.02652, allocations: 1.306 MB / 402.6 MB, free: 9.434 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004739/0.03125, allocations: 7.347 MB / 410 MB, free: 2.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002868/0.03412, allocations: 4.419 MB / 414.4 MB, free: 13.58 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002662/0.03678, allocations: 3.313 MB / 417.7 MB, free: 10.26 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002352/0.03914, allocations: 3.293 MB / 421 MB, free: 6.961 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004394/0.03958, allocations: 468 kB / 421.5 MB, free: 6.504 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.0413, allocations: 1.498 MB / 423 MB, free: 5.004 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001502/0.0428, allocations: 2.918 MB / 425.9 MB, free: 2.078 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001216/0.04402, allocations: 1.912 MB / 427.8 MB, free: 164 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006333/0.05035, allocations: 9.903 MB / 437.7 MB, free: 6.227 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.05036, allocations: 0 / 437.7 MB, free: 6.227 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.05036, allocations: 0 / 437.7 MB, free: 6.227 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001246/0.05048, allocations: 8 kB / 437.7 MB, free: 6.219 MB / 410.7 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.1721/0.2226, allocations: 7.164 MB / 444.9 MB, free: 96.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.2226, allocations: 8.906 kB / 444.9 MB, free: 96.65 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001226/0.2238, allocations: 0.9172 MB / 445.8 MB, free: 96.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.077/0.3008, allocations: 13.5 MB / 459.3 MB, free: 95.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006934/0.3078, allocations: 4.216 MB / 463.5 MB, free: 93.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.3079, allocations: 314 kB / 463.8 MB, free: 93.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005476/0.3084, allocations: 431.7 kB / 464.2 MB, free: 93.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0161/0.3245, allocations: 13.91 MB / 478.1 MB, free: 87.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001263/0.3247, allocations: 60.97 kB / 478.2 MB, free: 87.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003612/0.325, allocations: 203.4 kB / 478.4 MB, free: 87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002595/0.3276, allocations: 2.526 MB / 480.9 MB, free: 86.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01405/0.3417, allocations: 11.52 MB / 492.4 MB, free: 76.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03506/0.3767, allocations: 50.61 MB / 0.5303 GB, free: 25.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008833/0.3856, allocations: 5.385 MB / 0.5356 GB, free: 19.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002398/0.388, allocations: 3.061 MB / 0.5386 GB, free: 16.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01135/0.3993, allocations: 12.48 MB / 0.5508 GB, free: 4.477 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.3994, allocations: 64.5 kB / 0.5508 GB, free: 4.406 MB / 410.7 MB Notification: Performance of pre-optimization done (n=227): time 4.348e-06/0.3994, allocations: 0 / 0.5508 GB, free: 4.406 MB / 410.7 MB Notification: Performance of matching and sorting (n=264): time 0.04746/0.4468, allocations: 27.3 MB / 0.5775 GB, free: 9.113 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/0.447, allocations: 257.3 kB / 0.5777 GB, free: 8.809 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00628/0.4532, allocations: 5.685 MB / 0.5833 GB, free: 3.129 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002119/0.4534, allocations: 69.7 kB / 0.5834 GB, free: 3.055 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001908/0.4554, allocations: 4.068 MB / 0.5873 GB, free: 14.95 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007698/0.4561, allocations: 1.015 MB / 0.5883 GB, free: 13.92 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001285/0.4574, allocations: 1.454 MB / 0.5897 GB, free: 12.46 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.987e-05/0.4575, allocations: 305.1 kB / 0.59 GB, free: 12.16 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002595/0.4601, allocations: 2.665 MB / 0.5926 GB, free: 9.492 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004547/0.4646, allocations: 7.126 MB / 0.5996 GB, free: 208 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1548/0.6194, allocations: 10.53 MB / 0.6099 GB, free: 118.9 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.457e-05/0.6194, allocations: 44.28 kB / 0.6099 GB, free: 118.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=963) (initialization): time 0.01029/0.6297, allocations: 10.39 MB / 0.6201 GB, free: 115.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.478e-05/0.6298, allocations: 74.16 kB / 0.6201 GB, free: 115.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001434/0.6299, allocations: 151.5 kB / 0.6203 GB, free: 115.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.631, allocations: 0.7094 MB / 0.621 GB, free: 115 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003167/0.6342, allocations: 1.781 MB / 0.6227 GB, free: 114.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004597/0.6388, allocations: 6.708 MB / 0.6293 GB, free: 110.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003336/0.6421, allocations: 468.1 kB / 0.6297 GB, free: 110.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003326/0.6425, allocations: 445.6 kB / 0.6301 GB, free: 110.4 MB / 458.7 MB 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.002602/0.6451, allocations: 2.628 MB / 0.6327 GB, free: 109.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006096/0.6457, allocations: 0.5632 MB / 0.6332 GB, free: 109.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004441/0.6501, allocations: 4.25 MB / 0.6374 GB, free: 107.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.606e-05/0.6502, allocations: 29.69 kB / 0.6374 GB, free: 107.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.6502, allocations: 4.281 kB / 0.6374 GB, free: 107.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.6502, allocations: 11.67 kB / 0.6374 GB, free: 107.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/0.6611, allocations: 10.23 MB / 0.6474 GB, free: 103.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.6611, allocations: 0 / 0.6474 GB, free: 103.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/0.6624, allocations: 0.4996 MB / 0.6479 GB, free: 103.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006902/0.6631, allocations: 483.6 kB / 0.6484 GB, free: 103.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/0.6632, allocations: 49.72 kB / 0.6484 GB, free: 103.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003545/0.6667, allocations: 6.09 MB / 0.6544 GB, free: 99.59 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.6667, allocations: 1.188 kB / 0.6544 GB, free: 99.59 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006296/0.673, allocations: 7.52 MB / 0.6617 GB, free: 95.29 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005878/0.6736, allocations: 0.4989 MB / 0.6622 GB, free: 94.87 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003598/0.674, allocations: 42.48 kB / 0.6622 GB, free: 94.83 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/0.6752, allocations: 222.8 kB / 0.6625 GB, free: 94.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002627/0.6755, allocations: 154.8 kB / 0.6626 GB, free: 94.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.6756, allocations: 66.58 kB / 0.6627 GB, free: 94.56 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003231/0.6788, allocations: 3.453 MB / 0.666 GB, free: 91.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6788, allocations: 0 / 0.666 GB, free: 91.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003564/0.6824, allocations: 1.469 MB / 0.6675 GB, free: 90.23 MB / 458.7 MB 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.006656/0.689, allocations: 8.212 MB / 0.6755 GB, free: 82.86 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006271/0.6953, allocations: 6.378 MB / 0.6817 GB, free: 77.26 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.6953, allocations: 4 kB / 0.6817 GB, free: 77.25 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001745/0.6971, allocations: 2.129 MB / 0.6838 GB, free: 75.37 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002204/0.6993, allocations: 0.6563 MB / 0.6844 GB, free: 74.82 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04698/0.7463, allocations: 60.23 MB / 0.7433 GB, free: 8.785 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002447/0.7487, allocations: 3.59 MB / 0.7468 GB, free: 5.164 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003152/0.7519, allocations: 2.4 MB / 0.7491 GB, free: 2.754 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001899/0.7538, allocations: 2.636 MB / 0.7517 GB, free: 120 kB / 458.7 MB Notification: Performance of SimCode: time 1.132e-06/0.7538, allocations: 0 / 0.7517 GB, free: 120 kB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2462/1, allocations: 96.31 MB / 0.8457 GB, free: 120.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/12.25, allocations: 8.609 kB / 0.8458 GB, free: 120.2 MB / 490.7 MB " [Timeout remaining time 648] (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.00059976 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_LineForceWithMass.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.354693012312055]