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: translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001684/0.001684, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.49/1.49, allocations: 222.9 MB / 243 MB, free: 15.16 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.18 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 60.89 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1332, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01593/0.1492, allocations: 15 MB / 485.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01117/0.1604, allocations: 4.999 MB / 490.7 MB, free: 9.566 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003233/0.1636, allocations: 99.69 kB / 490.8 MB, free: 9.469 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008362/0.172, allocations: 4.018 MB / 494.8 MB, free: 5.438 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009132/0.1813, allocations: 2.357 MB / 497.2 MB, free: 3.074 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00365/0.1849, allocations: 1.166 MB / 498.3 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01117/0.1961, allocations: 6.499 MB / 0.493 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006986/0.2032, allocations: 4.698 MB / 0.4976 GB, free: 6.625 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004793/0.208, allocations: 2.224 MB / 0.4998 GB, free: 4.395 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005422/0.2135, allocations: 3.022 MB / 0.5027 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001587/0.2151, allocations: 463.9 kB / 0.5032 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2704/0.4855, allocations: 1.532 MB / 0.5047 GB, free: 20.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005292/0.4908, allocations: 2.698 MB / 0.5073 GB, free: 20.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007061/0.4979, allocations: 3.024 MB / 0.5102 GB, free: 19.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01645/0.5143, allocations: 9.438 MB / 0.5195 GB, free: 18.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.5144, allocations: 0 / 0.5195 GB, free: 18.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5144, allocations: 0 / 0.5195 GB, free: 18.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004124/0.5148, allocations: 0 / 0.5195 GB, free: 18.39 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.02259/0.5374, allocations: 6.752 MB / 0.5261 GB, free: 15.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.5375, allocations: 8.719 kB / 0.5261 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02422/0.5617, allocations: 3.303 MB / 0.5293 GB, free: 15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01336/0.5751, allocations: 4.179 MB / 0.5334 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002665/0.5754, allocations: 312.1 kB / 0.5337 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003038/0.5785, allocations: 427.7 kB / 0.5341 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02881/0.6073, allocations: 13.81 MB / 0.5476 GB, free: 3.336 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001958/0.6075, allocations: 61.59 kB / 0.5476 GB, free: 3.301 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006126/0.6082, allocations: 201.2 kB / 0.5478 GB, free: 3.148 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003271/0.6114, allocations: 2.523 MB / 0.5503 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02919/0.6406, allocations: 11.81 MB / 0.5618 GB, free: 5.074 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07756/0.7182, allocations: 53.47 MB / 0.614 GB, free: 14.8 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0169/0.7352, allocations: 5.903 MB / 0.6198 GB, free: 8.754 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005567/0.7408, allocations: 3.592 MB / 0.6233 GB, free: 5.156 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02616/0.767, allocations: 15.45 MB / 0.6384 GB, free: 5.246 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001378/0.7672, allocations: 56.56 kB / 0.6384 GB, free: 5.184 MB / 478.1 MB Notification: Performance of pre-optimization done (n=230): time 7.023e-06/0.7672, allocations: 0 / 0.6384 GB, free: 5.184 MB / 478.1 MB Notification: Performance of matching and sorting (n=267): time 0.1007/0.8679, allocations: 28.59 MB / 0.6664 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001567/0.8681, allocations: 263 kB / 0.6666 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01245/0.8805, allocations: 5.068 MB / 0.6716 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001191/0.8818, allocations: 68.12 kB / 0.6716 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003803/0.8856, allocations: 3.878 MB / 0.6754 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001754/0.8874, allocations: 1.002 MB / 0.6764 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004589/0.892, allocations: 1.547 MB / 0.6779 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.992e-05/0.8921, allocations: 305.1 kB / 0.6782 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005081/0.8972, allocations: 3.006 MB / 0.6811 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008182/0.9054, allocations: 7.345 MB / 0.6883 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01478/0.9202, allocations: 11.11 MB / 0.6991 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001879/0.9204, allocations: 44 kB / 0.6992 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.3021/1.223, allocations: 11.2 MB / 0.7101 GB, free: 183.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.00013/1.223, allocations: 73.81 kB / 0.7102 GB, free: 183.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000302/1.223, allocations: 150.9 kB / 0.7103 GB, free: 183.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003772/1.227, allocations: 1.225 MB / 0.7115 GB, free: 183 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007376/1.234, allocations: 1.835 MB / 0.7133 GB, free: 182.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008561/1.243, allocations: 8.353 MB / 0.7215 GB, free: 178.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006531/1.249, allocations: 426.1 kB / 0.7219 GB, free: 178 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001414/1.251, allocations: 447.3 kB / 0.7223 GB, free: 177.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * 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 (954): * Single equations (assignments): 949 * 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 {(2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004964/1.256, allocations: 2.641 MB / 0.7249 GB, free: 176.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008894/1.257, allocations: 465.8 kB / 0.7253 GB, free: 176.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007898/1.265, allocations: 5.227 MB / 0.7304 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.903e-05/1.265, allocations: 28.66 kB / 0.7305 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.768e-05/1.265, allocations: 8.094 kB / 0.7305 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-05/1.265, allocations: 13.14 kB / 0.7305 GB, free: 174.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02021/1.285, allocations: 11.66 MB / 0.7419 GB, free: 167.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.625e-05/1.285, allocations: 0 / 0.7419 GB, free: 167.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002381/1.287, allocations: 0.4988 MB / 0.7424 GB, free: 166.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00243/1.29, allocations: 0.9919 MB / 0.7433 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003456/1.29, allocations: 48.92 kB / 0.7434 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007003/1.297, allocations: 7.699 MB / 0.7509 GB, free: 157.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.297, allocations: 0 / 0.7509 GB, free: 157.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01066/1.308, allocations: 8.727 MB / 0.7594 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001553/1.309, allocations: 0.4911 MB / 0.7599 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008051/1.31, allocations: 45.17 kB / 0.7599 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002104/1.312, allocations: 184.1 kB / 0.7601 GB, free: 148.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003739/1.313, allocations: 137.8 kB / 0.7602 GB, free: 148.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001918/1.313, allocations: 77.39 kB / 0.7603 GB, free: 148.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004589/1.318, allocations: 3.158 MB / 0.7634 GB, free: 145.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.3e-07/1.318, allocations: 0 / 0.7634 GB, free: 145.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007027/1.325, allocations: 1.381 MB / 0.7647 GB, free: 143.9 MB / 0.5294 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 (227): * Single equations (assignments): 222 * 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.0005931/1.325, allocations: 187 kB / 0.7649 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00931/1.335, allocations: 7.336 MB / 0.7721 GB, free: 136.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/1.335, allocations: 0 / 0.7721 GB, free: 136.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002676/1.337, allocations: 2.552 MB / 0.7746 GB, free: 133.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003349/1.341, allocations: 0.5955 MB / 0.7752 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02078/1.361, allocations: 12.74 MB / 0.7876 GB, free: 120.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005084/1.367, allocations: 4.101 MB / 0.7916 GB, free: 116.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005371/1.372, allocations: 2.363 MB / 0.7939 GB, free: 114 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00117/1.373, allocations: 327.3 kB / 0.7942 GB, free: 113.7 MB / 0.5294 GB Notification: Performance of SimCode: time 9.02e-07/1.373, allocations: 0 / 0.7942 GB, free: 113.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.07684/1.45, allocations: 45.77 MB / 0.8389 GB, free: 68.3 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/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