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.001381/0.001381, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.001626/0.001627, allocations: 182.9 kB / 19.32 MB, free: 3.832 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.477/1.477, allocations: 222.9 MB / 243 MB, free: 15.14 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.2056/0.2056, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 60.12 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1045, allocations: 60.84 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01496/0.1195, allocations: 15 MB / 485.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.1306, allocations: 4.999 MB / 490.7 MB, free: 9.547 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002355/0.133, allocations: 103.7 kB / 490.8 MB, free: 9.445 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007057/0.1401, allocations: 4.014 MB / 494.8 MB, free: 5.418 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005327/0.1455, allocations: 2.353 MB / 497.2 MB, free: 3.059 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002268/0.1478, allocations: 1.166 MB / 498.3 MB, free: 1.891 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007938/0.1557, allocations: 6.499 MB / 0.493 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004993/0.1607, allocations: 4.702 MB / 0.4976 GB, free: 6.605 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002921/0.1637, allocations: 2.227 MB / 0.4998 GB, free: 4.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003748/0.1674, allocations: 3.022 MB / 0.5027 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009052/0.1684, allocations: 460 kB / 0.5032 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1913/0.3597, allocations: 1.539 MB / 0.5047 GB, free: 20.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003192/0.363, allocations: 2.693 MB / 0.5073 GB, free: 20.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004143/0.3671, allocations: 3.015 MB / 0.5102 GB, free: 19.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01172/0.3788, allocations: 9.449 MB / 0.5195 GB, free: 18.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.3789, allocations: 0 / 0.5195 GB, free: 18.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3789, allocations: 1.688 kB / 0.5195 GB, free: 18.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003022/0.3792, allocations: 0 / 0.5195 GB, free: 18.37 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.01744/0.3967, allocations: 6.746 MB / 0.5261 GB, free: 15.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3967, allocations: 9.344 kB / 0.5261 GB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02378/0.4205, allocations: 3.3 MB / 0.5293 GB, free: 15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009882/0.4304, allocations: 4.184 MB / 0.5334 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001974/0.4306, allocations: 313.9 kB / 0.5337 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001699/0.4323, allocations: 425.5 kB / 0.5341 GB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02346/0.4558, allocations: 13.81 MB / 0.5476 GB, free: 3.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001504/0.456, allocations: 65.12 kB / 0.5476 GB, free: 3.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005185/0.4565, allocations: 195.2 kB / 0.5478 GB, free: 3.133 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003034/0.4596, allocations: 2.531 MB / 0.5503 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02323/0.4828, allocations: 11.8 MB / 0.5618 GB, free: 5.062 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07272/0.5556, allocations: 53.47 MB / 0.614 GB, free: 14.8 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01622/0.5718, allocations: 5.905 MB / 0.6198 GB, free: 8.746 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006132/0.578, allocations: 3.591 MB / 0.6233 GB, free: 5.148 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02371/0.6017, allocations: 15.45 MB / 0.6384 GB, free: 5.234 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.604e-05/0.6018, allocations: 64.22 kB / 0.6384 GB, free: 5.168 MB / 478.1 MB Notification: Performance of pre-optimization done (n=230): time 4.899e-06/0.6018, allocations: 0 / 0.6384 GB, free: 5.168 MB / 478.1 MB Notification: Performance of matching and sorting (n=267): time 0.08783/0.6896, allocations: 28.58 MB / 0.6664 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/0.6898, allocations: 260.2 kB / 0.6666 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007143/0.697, allocations: 5.068 MB / 0.6716 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005812/0.6976, allocations: 65.7 kB / 0.6716 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002769/0.7003, allocations: 3.887 MB / 0.6754 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001307/0.7017, allocations: 1.001 MB / 0.6764 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002252/0.7039, allocations: 1.543 MB / 0.6779 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.314e-05/0.704, allocations: 301.1 kB / 0.6782 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004686/0.7087, allocations: 3.009 MB / 0.6811 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006867/0.7156, allocations: 7.346 MB / 0.6883 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01241/0.728, allocations: 11.1 MB / 0.6991 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.831e-05/0.7281, allocations: 44 kB / 0.6992 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.2084/0.9365, allocations: 11.19 MB / 0.7101 GB, free: 182.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.9367, allocations: 74.89 kB / 0.7102 GB, free: 182.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002865/0.937, allocations: 150.8 kB / 0.7103 GB, free: 182.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003639/0.9406, allocations: 1.228 MB / 0.7115 GB, free: 182.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006459/0.9471, allocations: 1.828 MB / 0.7133 GB, free: 182.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007933/0.9551, allocations: 8.372 MB / 0.7215 GB, free: 177.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005676/0.9608, allocations: 416 kB / 0.7219 GB, free: 177.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00074/0.9615, allocations: 457.3 kB / 0.7223 GB, free: 177.7 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.003909/0.9654, allocations: 2.633 MB / 0.7249 GB, free: 176.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000759/0.9662, allocations: 461.9 kB / 0.7253 GB, free: 176.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007552/0.9738, allocations: 5.232 MB / 0.7304 GB, free: 174.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.469e-05/0.9738, allocations: 28.16 kB / 0.7305 GB, free: 174.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.9738, allocations: 6 kB / 0.7305 GB, free: 174.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.951e-05/0.9739, allocations: 14.5 kB / 0.7305 GB, free: 174.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01961/0.9935, allocations: 11.66 MB / 0.7419 GB, free: 167.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.746e-05/0.9935, allocations: 7.844 kB / 0.7419 GB, free: 167.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002577/0.9961, allocations: 0.4887 MB / 0.7424 GB, free: 166.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002448/0.9986, allocations: 0.9964 MB / 0.7433 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002836/0.9989, allocations: 46.41 kB / 0.7434 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006824/1.006, allocations: 7.692 MB / 0.7509 GB, free: 157.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.006, allocations: 7.25 kB / 0.7509 GB, free: 157.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01067/1.016, allocations: 8.729 MB / 0.7594 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/1.018, allocations: 0.4949 MB / 0.7599 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006423/1.018, allocations: 47.88 kB / 0.7599 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002034/1.02, allocations: 178.2 kB / 0.7601 GB, free: 148.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003744/1.021, allocations: 145.7 kB / 0.7603 GB, free: 148.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001955/1.021, allocations: 75.16 kB / 0.7603 GB, free: 148.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003873/1.025, allocations: 3.162 MB / 0.7634 GB, free: 145.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/1.025, allocations: 0 / 0.7634 GB, free: 145.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005487/1.03, allocations: 1.375 MB / 0.7648 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.000452/1.031, allocations: 186.2 kB / 0.7649 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008444/1.039, allocations: 7.332 MB / 0.7721 GB, free: 136.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.039, allocations: 4 kB / 0.7721 GB, free: 136.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00252/1.042, allocations: 2.547 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.003019/1.045, allocations: 0.5914 MB / 0.7752 GB, free: 133.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01671/1.062, allocations: 12.75 MB / 0.7876 GB, free: 120.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004528/1.066, allocations: 4.101 MB / 0.7916 GB, free: 116.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005169/1.071, allocations: 2.365 MB / 0.7939 GB, free: 114 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/1.073, allocations: 327.4 kB / 0.7942 GB, free: 113.7 MB / 0.5294 GB Notification: Performance of SimCode: time 7.82e-07/1.073, allocations: 0 / 0.7942 GB, free: 113.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.0746/1.147, allocations: 45.76 MB / 0.8389 GB, free: 68.32 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 gbode -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