Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 81.95 kB / 21.44 MB, free: 3.055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009988/0.0009988, allocations: 170.4 kB / 24.84 MB, free: 8.906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9149/0.9149, allocations: 158.6 MB / 186.7 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1381/0.1381, allocations: 32.38 MB / 271.5 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 348.9 MB, free: 9.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.388e-05, allocations: 6.25 kB / 348.9 MB, free: 9.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01328/0.0133, allocations: 14.15 MB / 363.1 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01105/0.02435, allocations: 4.891 MB / 368 MB, free: 6.031 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003487/0.02784, allocations: 119.4 kB / 368.1 MB, free: 5.914 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006417/0.03425, allocations: 4.263 MB / 372.4 MB, free: 1.633 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005063/0.03932, allocations: 2.539 MB / 374.9 MB, free: 15.08 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002037/0.04135, allocations: 1.306 MB / 376.2 MB, free: 13.77 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006398/0.04775, allocations: 6.872 MB / 383.1 MB, free: 6.887 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004101/0.05185, allocations: 4.451 MB / 387.5 MB, free: 2.371 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004058/0.05591, allocations: 4.058 MB / 391.6 MB, free: 14.3 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003709/0.05962, allocations: 3.312 MB / 394.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008903/0.06051, allocations: 468 kB / 395.3 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001924/0.06243, allocations: 1.486 MB / 396.8 MB, free: 9.039 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002069/0.0645, allocations: 2.961 MB / 399.8 MB, free: 6.07 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001944/0.06644, allocations: 1.799 MB / 401.6 MB, free: 4.266 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005159/0.0716, allocations: 6.356 MB / 408 MB, free: 13.89 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.07161, allocations: 0 / 408 MB, free: 13.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.07161, allocations: 0 / 408 MB, free: 13.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.816e-05/0.07168, allocations: 0 / 408 MB, free: 13.89 MB / 346.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.007017/0.07869, allocations: 6.97 MB / 414.9 MB, free: 6.836 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.07873, allocations: 11.97 kB / 414.9 MB, free: 6.824 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/0.08986, allocations: 2.935 MB / 417.9 MB, free: 3.883 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003249/0.09311, allocations: 3.035 MB / 420.9 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.09326, allocations: 308.4 kB / 421.2 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004703/0.09373, allocations: 440.2 kB / 421.6 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007995/0.1017, allocations: 7.628 MB / 429.3 MB, free: 7.188 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.815e-05/0.1018, allocations: 55.52 kB / 429.3 MB, free: 7.133 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003161/0.1021, allocations: 207.8 kB / 429.5 MB, free: 6.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001747/0.1039, allocations: 2.258 MB / 431.8 MB, free: 4.668 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005429/0.1093, allocations: 3.532 MB / 435.3 MB, free: 1.125 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1894/0.2987, allocations: 55.2 MB / 490.5 MB, free: 53.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0115/0.3102, allocations: 3.046 MB / 493.6 MB, free: 53.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/0.3113, allocations: 0.8345 MB / 494.4 MB, free: 53.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01262/0.3239, allocations: 6.571 MB / 0.4892 GB, free: 51.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.3239, allocations: 60.55 kB / 0.4893 GB, free: 51.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=199): time 3.937e-06/0.3239, allocations: 0 / 0.4893 GB, free: 51.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=225): time 0.02221/0.3461, allocations: 9.88 MB / 0.4989 GB, free: 44.92 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.3462, allocations: 257.1 kB / 0.4992 GB, free: 44.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003408/0.3496, allocations: 4.538 MB / 0.5036 GB, free: 40.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.297e-05/0.3497, allocations: 57.7 kB / 0.5037 GB, free: 40.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001465/0.3512, allocations: 4.421 MB / 0.508 GB, free: 36.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004327/0.3516, allocations: 0.9344 MB / 0.5089 GB, free: 35.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001071/0.3527, allocations: 1.674 MB / 0.5105 GB, free: 33.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.913e-05/0.3527, allocations: 480 kB / 0.511 GB, free: 33.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009927/0.3537, allocations: 0.7518 MB / 0.5117 GB, free: 32.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003424/0.3571, allocations: 7.721 MB / 0.5193 GB, free: 21.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005576/0.3627, allocations: 9.132 MB / 0.5282 GB, free: 9.914 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001251/0.3628, allocations: 48 kB / 0.5282 GB, free: 9.867 MB / 378.7 MB Notification: Performance of matching and sorting (n=1002) (initialization): time 0.007643/0.3705, allocations: 6.109 MB / 0.5342 GB, free: 3.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.305e-05/0.3705, allocations: 72.94 kB / 0.5343 GB, free: 3.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000124/0.3707, allocations: 164 kB / 0.5344 GB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004917/0.3711, allocations: 295.2 kB / 0.5347 GB, free: 3.223 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003029/0.3742, allocations: 1.762 MB / 0.5364 GB, free: 1.457 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00194/0.3761, allocations: 3.777 MB / 0.5401 GB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00413/0.3802, allocations: 332.5 kB / 0.5404 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005884/0.3808, allocations: 392 kB / 0.5408 GB, free: 12.74 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 739 * 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 (976): * Single equations (assignments): 971 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002006/0.3828, allocations: 0.8005 MB / 0.5416 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009914/0.3838, allocations: 0.4932 MB / 0.5421 GB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/0.3858, allocations: 1.433 MB / 0.5435 GB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.128e-05/0.3858, allocations: 24 kB / 0.5435 GB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.3858, allocations: 3.625 kB / 0.5435 GB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.3858, allocations: 11.97 kB / 0.5435 GB, free: 9.953 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/0.3971, allocations: 6.117 MB / 0.5495 GB, free: 3.672 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/0.3971, allocations: 7.719 kB / 0.5495 GB, free: 3.668 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/0.3982, allocations: 359.5 kB / 0.5498 GB, free: 3.316 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002964/0.3985, allocations: 83.48 kB / 0.5499 GB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001546/0.3987, allocations: 44 kB / 0.5499 GB, free: 3.184 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001732/0.4004, allocations: 3.476 MB / 0.5533 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.4004, allocations: 11.94 kB / 0.5533 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003593/0.404, allocations: 2.636 MB / 0.5559 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001586/0.4056, allocations: 0.6022 MB / 0.5565 GB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006891/0.4063, allocations: 40 kB / 0.5565 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.4074, allocations: 63.28 kB / 0.5566 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/0.4076, allocations: 139.9 kB / 0.5567 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.169e-05/0.4076, allocations: 51.98 kB / 0.5568 GB, free: 11.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002496/0.4101, allocations: 1.852 MB / 0.5586 GB, free: 9.996 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4101, allocations: 7.938 kB / 0.5586 GB, free: 9.988 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00556/0.4157, allocations: 1.328 MB / 0.5599 GB, free: 8.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (201): * Single equations (assignments): 196 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006585/0.4164, allocations: 202.8 kB / 0.5601 GB, free: 8.453 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006421/0.4228, allocations: 3.553 MB / 0.5636 GB, free: 4.895 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/0.4228, allocations: 4 kB / 0.5636 GB, free: 4.891 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.4239, allocations: 0.9516 MB / 0.5645 GB, free: 3.902 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003019/0.4269, allocations: 0.5412 MB / 0.565 GB, free: 3.383 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01661/0.4435, allocations: 9.884 MB / 0.5747 GB, free: 9.328 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002269/0.4458, allocations: 1.614 MB / 0.5763 GB, free: 7.691 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002211/0.448, allocations: 0.6454 MB / 0.5769 GB, free: 7.043 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001384/0.4494, allocations: 0.7753 MB / 0.5776 GB, free: 6.266 MB / 426.7 MB Notification: Performance of SimCode: time 2.184e-06/0.4494, allocations: 0 / 0.5776 GB, free: 6.266 MB / 426.7 MB Notification: Performance of Templates: time 0.2107/0.6601, allocations: 41.02 MB / 0.6177 GB, free: 158.7 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.830453899689019]