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.0008826/0.0008826, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009423/0.0009423, allocations: 159.4 kB / 24.91 MB, free: 8.719 MB / 18.57 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 0.9538/0.9538, allocations: 177 MB / 205.2 MB, free: 5.039 MB / 186.7 MB " [Timeout remaining time 179] 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.301/0.301, allocations: 34.86 MB / 296.6 MB, free: 464 kB / 266.7 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: translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 326 MB, free: 7.105 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.448e-05, allocations: 5.125 kB / 326 MB, free: 7.102 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01138/0.01141, allocations: 14.13 MB / 340.1 MB, free: 8.902 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009996/0.0214, allocations: 5.099 MB / 345.2 MB, free: 3.789 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001984/0.02339, allocations: 119.4 kB / 345.3 MB, free: 3.672 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004666/0.02805, allocations: 4.232 MB / 349.6 MB, free: 15.43 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004432/0.03249, allocations: 2.492 MB / 352 MB, free: 12.92 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001858/0.03434, allocations: 1.306 MB / 353.4 MB, free: 11.61 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006966/0.04131, allocations: 7.327 MB / 360.7 MB, free: 4.281 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004699/0.04601, allocations: 4.315 MB / 365 MB, free: 15.88 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005472/0.05148, allocations: 4.292 MB / 369.3 MB, free: 11.57 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004611/0.05609, allocations: 3.152 MB / 372.4 MB, free: 8.414 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00128/0.05737, allocations: 464 kB / 372.9 MB, free: 7.961 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002736/0.06011, allocations: 1.517 MB / 374.4 MB, free: 6.441 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002819/0.06293, allocations: 2.922 MB / 377.3 MB, free: 3.512 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003034/0.06596, allocations: 1.784 MB / 379.1 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006542/0.0725, allocations: 6.279 MB / 385.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.07251, allocations: 0 / 385.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.07251, allocations: 4 kB / 385.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001774/0.07269, allocations: 3.984 kB / 385.4 MB, free: 11.41 MB / 362.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.007914/0.0806, allocations: 6.233 MB / 391.6 MB, free: 5.117 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.08063, allocations: 8.031 kB / 391.6 MB, free: 5.109 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004291/0.08492, allocations: 1.437 MB / 393.1 MB, free: 3.672 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003864/0.08879, allocations: 2.811 MB / 395.9 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001662/0.08895, allocations: 308.4 kB / 396.2 MB, free: 488 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006654/0.08962, allocations: 436.2 kB / 396.6 MB, free: 52 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009812/0.09943, allocations: 6.89 MB / 403.5 MB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001144/0.09955, allocations: 51.56 kB / 403.6 MB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003392/0.09988, allocations: 195.8 kB / 403.7 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001834/0.1017, allocations: 2.266 MB / 406 MB, free: 5.715 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007323/0.109, allocations: 3.473 MB / 409.5 MB, free: 2.227 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2047/0.3138, allocations: 40.19 MB / 449.7 MB, free: 81.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006598/0.3204, allocations: 2.989 MB / 452.7 MB, free: 81.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/0.3214, allocations: 0.6772 MB / 453.3 MB, free: 81.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008507/0.3299, allocations: 6.112 MB / 459.5 MB, free: 80.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.33, allocations: 59.03 kB / 459.5 MB, free: 80.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=199): time 4.429e-06/0.33, allocations: 0 / 459.5 MB, free: 80.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=225): time 0.02041/0.3504, allocations: 8.842 MB / 468.4 MB, free: 78.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.3504, allocations: 260.2 kB / 468.6 MB, free: 77.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003154/0.3536, allocations: 4.062 MB / 472.7 MB, free: 75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001191/0.3537, allocations: 61.02 kB / 472.7 MB, free: 74.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001119/0.3548, allocations: 3.871 MB / 476.6 MB, free: 71.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004068/0.3552, allocations: 0.8935 MB / 477.5 MB, free: 70.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009539/0.3562, allocations: 1.448 MB / 478.9 MB, free: 69.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.342e-05/0.3562, allocations: 309 kB / 479.2 MB, free: 69.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/0.3575, allocations: 0.9513 MB / 480.2 MB, free: 68.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002169/0.3596, allocations: 5.508 MB / 485.7 MB, free: 60.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003929/0.3636, allocations: 7.051 MB / 492.8 MB, free: 52.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-05/0.3636, allocations: 44 kB / 492.8 MB, free: 52.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=1002) (initialization): time 0.005048/0.3687, allocations: 5.147 MB / 497.9 MB, free: 46.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.316e-05/0.3687, allocations: 76 kB / 498 MB, free: 46.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-05/0.3688, allocations: 160 kB / 498.2 MB, free: 46.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003737/0.3692, allocations: 295.3 kB / 498.5 MB, free: 46.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002882/0.3721, allocations: 1.872 MB / 0.4886 GB, free: 44.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.3732, allocations: 2.718 MB / 0.4913 GB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003042/0.3763, allocations: 335.7 kB / 0.4916 GB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003077/0.3766, allocations: 392 kB / 0.492 GB, free: 40.88 MB / 410.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.001374/0.378, allocations: 0.7582 MB / 0.4927 GB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005555/0.3785, allocations: 295.7 kB / 0.493 GB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.3798, allocations: 1.204 MB / 0.4942 GB, free: 38.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.3798, allocations: 27.94 kB / 0.4942 GB, free: 38.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.3798, allocations: 3.719 kB / 0.4942 GB, free: 38.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.3798, allocations: 15.97 kB / 0.4942 GB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006236/0.386, allocations: 5.165 MB / 0.4992 GB, free: 33.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.386, allocations: 8.594 kB / 0.4993 GB, free: 33.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.3871, allocations: 411.4 kB / 0.4996 GB, free: 32.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004465/0.3876, allocations: 304.6 kB / 0.4999 GB, free: 32.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/0.3877, allocations: 43.98 kB / 0.5 GB, free: 32.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008861/0.3886, allocations: 2.432 MB / 0.5024 GB, free: 29.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.3886, allocations: 12.08 kB / 0.5024 GB, free: 29.85 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002092/0.3907, allocations: 2.188 MB / 0.5045 GB, free: 27.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005916/0.3913, allocations: 408 kB / 0.5049 GB, free: 27.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002972/0.3916, allocations: 47.98 kB / 0.5049 GB, free: 27.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008113/0.3924, allocations: 51.98 kB / 0.505 GB, free: 27.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/0.3925, allocations: 133 kB / 0.5051 GB, free: 26.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.664e-05/0.3926, allocations: 63.97 kB / 0.5052 GB, free: 26.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00125/0.3939, allocations: 1.527 MB / 0.5067 GB, free: 25.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3939, allocations: 0 / 0.5067 GB, free: 25.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004445/0.3983, allocations: 1.297 MB / 0.5079 GB, free: 24.04 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.0004557/0.3988, allocations: 175.9 kB / 0.5081 GB, free: 23.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00356/0.4023, allocations: 3.198 MB / 0.5112 GB, free: 20.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002033/0.4025, allocations: 108.2 kB / 0.5113 GB, free: 20.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007646/0.4033, allocations: 0.7602 MB / 0.5121 GB, free: 19.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003154/0.4065, allocations: 0.8097 MB / 0.5129 GB, free: 18.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/0.4186, allocations: 9.69 MB / 0.5223 GB, free: 9.145 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001473/0.4201, allocations: 1.602 MB / 0.5239 GB, free: 7.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001894/0.422, allocations: 0.6536 MB / 0.5245 GB, free: 6.887 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/0.4231, allocations: 0.7159 MB / 0.5252 GB, free: 6.172 MB / 410.7 MB Notification: Performance of SimCode: time 2.334e-06/0.4231, allocations: 3.5 kB / 0.5252 GB, free: 6.172 MB / 410.7 MB Notification: Performance of Templates: time 0.06119/0.4843, allocations: 39.41 MB / 0.5637 GB, free: 15.17 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.197497680783272]