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.00148/0.00148, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001435/0.001435, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.465/1.465, allocations: 230.5 MB / 254 MB, free: 15.02 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.24/0.24, allocations: 46.93 MB / 357 MB, free: 10.2 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.002444/0.002444, allocations: 79.89 kB / 0.491 GB, free: 7.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1255, allocations: 66.05 MB / 0.5555 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01783/0.1433, allocations: 15.03 MB / 0.5702 GB, free: 6.465 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01106/0.1543, allocations: 5.027 MB / 0.5751 GB, free: 1.422 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002361/0.1567, allocations: 119.4 kB / 0.5752 GB, free: 1.305 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008102/0.1648, allocations: 4.061 MB / 0.5791 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006872/0.1717, allocations: 2.377 MB / 0.5815 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002913/0.1746, allocations: 1.17 MB / 0.5826 GB, free: 9.672 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01007/0.1847, allocations: 6.586 MB / 0.589 GB, free: 3.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2721/0.4568, allocations: 3.987 MB / 0.5929 GB, free: 7.309 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005074/0.4619, allocations: 2.236 MB / 0.5951 GB, free: 7.219 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006934/0.4688, allocations: 3.269 MB / 0.5983 GB, free: 6.914 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002644/0.4714, allocations: 458 kB / 0.5987 GB, free: 6.914 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005539/0.477, allocations: 1.573 MB / 0.6003 GB, free: 6.914 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005945/0.4829, allocations: 2.795 MB / 0.603 GB, free: 6.594 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008651/0.4916, allocations: 3.134 MB / 0.6061 GB, free: 5.531 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01727/0.5088, allocations: 9.771 MB / 0.6156 GB, free: 3.492 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.5088, allocations: 0.8125 kB / 0.6156 GB, free: 3.492 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.5088, allocations: 0 / 0.6156 GB, free: 3.492 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004302/0.5093, allocations: 1.188 kB / 0.6156 GB, free: 3.492 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.02679/0.5361, allocations: 7.174 MB / 0.6226 GB, free: 15.07 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.5361, allocations: 8.969 kB / 0.6226 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003975/0.5401, allocations: 0.9209 MB / 0.6235 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1782/0.7183, allocations: 12.54 MB / 0.6358 GB, free: 9.41 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01367/0.7319, allocations: 4.577 MB / 0.6402 GB, free: 5.012 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003532/0.7323, allocations: 313.7 kB / 0.6405 GB, free: 4.746 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002289/0.7346, allocations: 420.2 kB / 0.6409 GB, free: 4.379 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03398/0.7685, allocations: 13.69 MB / 0.6543 GB, free: 6.055 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00023/0.7688, allocations: 65.48 kB / 0.6544 GB, free: 6.016 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00124/0.77, allocations: 201.4 kB / 0.6546 GB, free: 5.863 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005007/0.775, allocations: 2.527 MB / 0.657 GB, free: 3.379 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0274/0.8024, allocations: 11.55 MB / 0.6683 GB, free: 8.051 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08232/0.8847, allocations: 52.92 MB / 0.72 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02514/0.9099, allocations: 5.564 MB / 0.7254 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007379/0.9173, allocations: 3.073 MB / 0.7284 GB, free: 9.59 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03022/0.9475, allocations: 14.9 MB / 0.743 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.224e-05/0.9475, allocations: 60.5 kB / 0.743 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=227): time 5.811e-06/0.9476, allocations: 6.625 kB / 0.743 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=264): time 0.09636/1.044, allocations: 26.5 MB / 0.7689 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002011/1.044, allocations: 260.4 kB / 0.7692 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01131/1.055, allocations: 5.074 MB / 0.7741 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0006168/1.056, allocations: 69.7 kB / 0.7742 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.004263/1.06, allocations: 4.103 MB / 0.7782 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001817/1.062, allocations: 1.031 MB / 0.7792 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00487/1.067, allocations: 1.481 MB / 0.7807 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001338/1.067, allocations: 301.1 kB / 0.7809 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005391/1.073, allocations: 2.732 MB / 0.7836 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009767/1.082, allocations: 7.078 MB / 0.7905 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01682/1.099, allocations: 10.66 MB / 0.8009 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002325/1.099, allocations: 44 kB / 0.801 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.02315/1.122, allocations: 10.14 MB / 0.8109 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002022/1.123, allocations: 72 kB / 0.8109 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002565/1.123, allocations: 152 kB / 0.8111 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002174/1.125, allocations: 0.7138 MB / 0.8118 GB, free: 124 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006783/1.132, allocations: 1.77 MB / 0.8135 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009479/1.141, allocations: 6.848 MB / 0.8202 GB, free: 7.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006086/1.147, allocations: 408.4 kB / 0.8206 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001638/1.149, allocations: 444 kB / 0.821 GB, free: 6.402 MB / 0.6387 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.006973/1.156, allocations: 2.627 MB / 0.8236 GB, free: 3.758 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001414/1.157, allocations: 496.7 kB / 0.824 GB, free: 3.27 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01119/1.169, allocations: 4.373 MB / 0.8283 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.665e-05/1.169, allocations: 35.11 kB / 0.8284 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.369e-05/1.169, allocations: 8 kB / 0.8284 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.846e-05/1.169, allocations: 11.95 kB / 0.8284 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02964/1.198, allocations: 10.75 MB / 0.8389 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.062e-05/1.198, allocations: 0 / 0.8389 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002816/1.201, allocations: 0.4914 MB / 0.8393 GB, free: 3.578 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001651/1.203, allocations: 490 kB / 0.8398 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004393/1.203, allocations: 47.98 kB / 0.8399 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2682/1.472, allocations: 6.208 MB / 0.8459 GB, free: 227.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.472, allocations: 2.875 kB / 0.8459 GB, free: 227.7 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01382/1.485, allocations: 7.651 MB / 0.8534 GB, free: 226.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/1.487, allocations: 0.5095 MB / 0.8539 GB, free: 226.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001486/1.488, allocations: 39.38 kB / 0.8539 GB, free: 226.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003048/1.491, allocations: 154.1 kB / 0.8541 GB, free: 226.5 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007132/1.492, allocations: 153.3 kB / 0.8542 GB, free: 226.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003925/1.492, allocations: 70.36 kB / 0.8543 GB, free: 226.4 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.007691/1.5, allocations: 3.18 MB / 0.8574 GB, free: 225.4 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2e-07/1.5, allocations: 0 / 0.8574 GB, free: 225.4 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.008846/1.509, allocations: 1.281 MB / 0.8586 GB, free: 225.3 MB / 0.6544 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.01342/1.522, allocations: 8.35 MB / 0.8668 GB, free: 221.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01003/1.532, allocations: 6.54 MB / 0.8732 GB, free: 219.5 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/1.532, allocations: 0.5 kB / 0.8732 GB, free: 219.5 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003176/1.536, allocations: 2.197 MB / 0.8753 GB, free: 218.6 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00541/1.541, allocations: 0.6322 MB / 0.8759 GB, free: 218.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08758/1.629, allocations: 59.13 MB / 0.9337 GB, free: 160.6 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007445/1.636, allocations: 4.104 MB / 0.9377 GB, free: 156.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006468/1.643, allocations: 2.377 MB / 0.94 GB, free: 154.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005342/1.648, allocations: 2.62 MB / 0.9426 GB, free: 151.5 MB / 0.6544 GB Notification: Performance of SimCode: time 1.593e-06/1.648, allocations: 0 / 0.9426 GB, free: 151.5 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1464/1.794, allocations: 92.49 MB / 1.033 GB, free: 59.45 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.94/33.74, allocations: 10.5 kB / 1.033 GB, free: 59.45 MB / 0.6544 GB " [Timeout remaining time 626] (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: 36.97625624004286]