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.00186/0.00186, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.002332/0.002332, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.514/1.514, allocations: 230.5 MB / 257.4 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] 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.2504/0.2504, allocations: 46.94 MB / 360.8 MB, free: 3.918 MB / 286.1 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 0.002296/0.002296, allocations: 95.77 kB / 0.4962 GB, free: 7.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3774, allocations: 66.08 MB / 0.5607 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01665/0.394, allocations: 13 MB / 0.5734 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01312/0.4071, allocations: 4.801 MB / 0.5781 GB, free: 2.113 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003212/0.4103, allocations: 119.4 kB / 0.5782 GB, free: 1.996 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00834/0.4187, allocations: 3.902 MB / 0.582 GB, free: 14.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007683/0.4264, allocations: 2.419 MB / 0.5844 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003131/0.4295, allocations: 1.162 MB / 0.5855 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01146/0.441, allocations: 6.589 MB / 0.5919 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007408/0.4484, allocations: 3.759 MB / 0.5956 GB, free: 56 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004864/0.4532, allocations: 2.235 MB / 0.5978 GB, free: 13.81 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005597/0.4588, allocations: 3.088 MB / 0.6008 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001744/0.4606, allocations: 456 kB / 0.6012 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004059/0.4646, allocations: 1.424 MB / 0.6026 GB, free: 8.844 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004569/0.4692, allocations: 2.805 MB / 0.6054 GB, free: 6.031 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00608/0.4753, allocations: 2.381 MB / 0.6077 GB, free: 3.637 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01535/0.4906, allocations: 9.817 MB / 0.6173 GB, free: 9.777 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.4906, allocations: 0 / 0.6173 GB, free: 9.777 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.4906, allocations: 8 kB / 0.6173 GB, free: 9.77 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004114/0.491, allocations: 0 / 0.6173 GB, free: 9.77 MB / 462.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.02446/0.5155, allocations: 7.093 MB / 0.6242 GB, free: 2.605 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/0.5156, allocations: 12.03 kB / 0.6242 GB, free: 2.594 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002866/0.5184, allocations: 0.918 MB / 0.6251 GB, free: 1.664 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1648/0.6832, allocations: 12.54 MB / 0.6374 GB, free: 5.105 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01281/0.696, allocations: 4.505 MB / 0.6418 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003737/0.6964, allocations: 320.1 kB / 0.6421 GB, free: 224 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001926/0.6983, allocations: 427.9 kB / 0.6425 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03193/0.7302, allocations: 13.92 MB / 0.6561 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003688/0.7306, allocations: 63.47 kB / 0.6561 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00168/0.7323, allocations: 191.8 kB / 0.6563 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004654/0.7369, allocations: 2.531 MB / 0.6588 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02666/0.7636, allocations: 11.53 MB / 0.6701 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07786/0.8415, allocations: 50.06 MB / 0.7189 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01668/0.8581, allocations: 5.107 MB / 0.7239 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005048/0.8632, allocations: 3.076 MB / 0.7269 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3279/1.191, allocations: 12.14 MB / 0.7388 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/1.191, allocations: 58.97 kB / 0.7388 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=227): time 5.55e-06/1.191, allocations: 0 / 0.7388 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=264): time 0.07502/1.266, allocations: 26.45 MB / 0.7647 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.993e-05/1.266, allocations: 257.3 kB / 0.7649 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005524/1.272, allocations: 5.332 MB / 0.7701 GB, free: 132 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005194/1.272, allocations: 65.64 kB / 0.7702 GB, free: 132 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001975/1.274, allocations: 4.101 MB / 0.7742 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001222/1.275, allocations: 1.034 MB / 0.7752 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001737/1.277, allocations: 1.477 MB / 0.7766 GB, free: 125.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.76e-05/1.277, allocations: 301.1 kB / 0.7769 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003122/1.28, allocations: 2.732 MB / 0.7796 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005152/1.286, allocations: 7.188 MB / 0.7866 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01004/1.296, allocations: 10.65 MB / 0.797 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001689/1.296, allocations: 44 kB / 0.7971 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.01689/1.313, allocations: 10.13 MB / 0.807 GB, free: 90.39 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002866/1.313, allocations: 68 kB / 0.807 GB, free: 90.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003534/1.313, allocations: 152.9 kB / 0.8072 GB, free: 90.17 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00173/1.315, allocations: 0.716 MB / 0.8079 GB, free: 89.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005988/1.321, allocations: 1.768 MB / 0.8096 GB, free: 87.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006414/1.327, allocations: 6.579 MB / 0.816 GB, free: 80.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006512/1.334, allocations: 415.3 kB / 0.8164 GB, free: 80.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001488/1.335, allocations: 448 kB / 0.8168 GB, free: 80.05 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.005158/1.341, allocations: 2.633 MB / 0.8194 GB, free: 77.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00143/1.342, allocations: 496.7 kB / 0.8199 GB, free: 76.92 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007281/1.349, allocations: 4.38 MB / 0.8242 GB, free: 72.52 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.995e-05/1.349, allocations: 28 kB / 0.8242 GB, free: 72.49 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.032e-05/1.349, allocations: 8 kB / 0.8242 GB, free: 72.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.405e-05/1.349, allocations: 15.95 kB / 0.8242 GB, free: 72.47 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01959/1.369, allocations: 10.23 MB / 0.8342 GB, free: 62.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.765e-05/1.369, allocations: 0 / 0.8342 GB, free: 62.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002374/1.371, allocations: 0.4915 MB / 0.8347 GB, free: 61.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001277/1.373, allocations: 493.1 kB / 0.8352 GB, free: 61.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003048/1.373, allocations: 47.98 kB / 0.8352 GB, free: 61.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005213/1.378, allocations: 5.959 MB / 0.841 GB, free: 55.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.378, allocations: 3.938 kB / 0.841 GB, free: 55.03 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009474/1.388, allocations: 7.645 MB / 0.8485 GB, free: 47.31 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001488/1.389, allocations: 452.5 kB / 0.8489 GB, free: 46.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001283/1.39, allocations: 36 kB / 0.849 GB, free: 46.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002665/1.393, allocations: 163.9 kB / 0.8491 GB, free: 46.67 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004232/1.394, allocations: 153.8 kB / 0.8493 GB, free: 46.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002271/1.394, allocations: 75.92 kB / 0.8493 GB, free: 46.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005067/1.399, allocations: 3.176 MB / 0.8524 GB, free: 43.29 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/1.399, allocations: 0 / 0.8524 GB, free: 43.29 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006323/1.405, allocations: 1.281 MB / 0.8537 GB, free: 42.01 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.01014/1.415, allocations: 8.346 MB / 0.8618 GB, free: 33.58 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008448/1.424, allocations: 6.544 MB / 0.8682 GB, free: 27.04 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/1.424, allocations: 4 kB / 0.8682 GB, free: 27.03 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002617/1.426, allocations: 2.195 MB / 0.8704 GB, free: 24.81 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004146/1.43, allocations: 0.6337 MB / 0.871 GB, free: 24.19 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1082/1.539, allocations: 59.22 MB / 0.9288 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008379/1.547, allocations: 3.59 MB / 0.9323 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.007732/1.555, allocations: 2.377 MB / 0.9346 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006037/1.561, allocations: 2.62 MB / 0.9372 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of SimCode: time 1.873e-06/1.561, allocations: 3.938 kB / 0.9372 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.441/2.002, allocations: 93.14 MB / 1.028 GB, free: 202.2 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.95/20.95, allocations: 10.16 kB / 1.028 GB, free: 202.2 MB / 0.6544 GB " [Timeout remaining time 639] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 24.264866545330733]