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.00141/0.00141, allocations: 84.73 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.001715/0.001715, allocations: 164.2 kB / 24.91 MB, free: 8.754 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 1.038/1.038, allocations: 177 MB / 205.2 MB, free: 5.059 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.2475/0.2475, allocations: 34.86 MB / 296.6 MB, free: 468 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.232e-06/1.232e-06, allocations: 0 / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.628e-05/1.751e-05, allocations: 5.406 kB / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01042/0.01044, allocations: 14.09 MB / 340 MB, free: 9.012 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008298/0.01874, allocations: 5.095 MB / 345.1 MB, free: 3.902 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001363/0.0201, allocations: 127.3 kB / 345.2 MB, free: 3.777 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004436/0.02454, allocations: 4.302 MB / 349.5 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003905/0.02844, allocations: 2.519 MB / 352.1 MB, free: 12.93 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.03012, allocations: 1.31 MB / 353.4 MB, free: 11.62 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006188/0.03631, allocations: 7.325 MB / 360.7 MB, free: 4.285 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003844/0.04015, allocations: 4.55 MB / 365.2 MB, free: 15.64 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004189/0.04434, allocations: 4.355 MB / 369.6 MB, free: 11.28 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003318/0.04766, allocations: 3.145 MB / 372.7 MB, free: 8.129 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000617/0.04828, allocations: 472 kB / 373.2 MB, free: 7.668 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001782/0.05006, allocations: 1.467 MB / 374.7 MB, free: 6.199 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002119/0.05218, allocations: 2.926 MB / 377.6 MB, free: 3.266 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001632/0.05381, allocations: 1.776 MB / 379.4 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005416/0.05923, allocations: 6.29 MB / 385.7 MB, free: 11.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.05923, allocations: 0 / 385.7 MB, free: 11.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.05923, allocations: 0 / 385.7 MB, free: 11.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000101/0.05934, allocations: 0 / 385.7 MB, free: 11.17 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.007183/0.06652, allocations: 6.233 MB / 391.9 MB, free: 4.875 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.06655, allocations: 8.031 kB / 391.9 MB, free: 4.867 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003889/0.07044, allocations: 1.448 MB / 393.3 MB, free: 3.418 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003504/0.07395, allocations: 2.807 MB / 396.2 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.07409, allocations: 308.4 kB / 396.5 MB, free: 232 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005459/0.07463, allocations: 432.2 kB / 396.9 MB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007747/0.08238, allocations: 6.882 MB / 403.8 MB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.875e-05/0.08248, allocations: 55.56 kB / 403.8 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003282/0.08281, allocations: 195.8 kB / 404 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002031/0.08484, allocations: 2.262 MB / 406.3 MB, free: 5.477 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005588/0.09043, allocations: 3.476 MB / 409.7 MB, free: 1.988 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2133/0.3037, allocations: 40.19 MB / 449.9 MB, free: 81.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005733/0.3094, allocations: 2.979 MB / 452.9 MB, free: 81.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006728/0.3101, allocations: 0.6729 MB / 453.6 MB, free: 81.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006892/0.317, allocations: 6.118 MB / 459.7 MB, free: 80.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.317, allocations: 59.59 kB / 459.8 MB, free: 80.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=199): time 3.968e-06/0.317, allocations: 4.062 kB / 459.8 MB, free: 80.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=225): time 0.01905/0.3361, allocations: 8.842 MB / 468.6 MB, free: 78.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.3361, allocations: 260.3 kB / 468.9 MB, free: 77.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002876/0.339, allocations: 4.066 MB / 472.9 MB, free: 75.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.968e-05/0.3391, allocations: 58.39 kB / 473 MB, free: 74.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001019/0.3401, allocations: 3.87 MB / 476.9 MB, free: 71.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000373/0.3405, allocations: 0.8929 MB / 477.7 MB, free: 70.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009135/0.3414, allocations: 1.444 MB / 479.2 MB, free: 69.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.946e-05/0.3414, allocations: 309.1 kB / 479.5 MB, free: 69.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.3427, allocations: 0.9435 MB / 480.4 MB, free: 68.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002105/0.3448, allocations: 5.526 MB / 486 MB, free: 60.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003773/0.3486, allocations: 7.043 MB / 493 MB, free: 52.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-05/0.3486, allocations: 48 kB / 493.1 MB, free: 52.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=1002) (initialization): time 0.00461/0.3532, allocations: 5.149 MB / 498.2 MB, free: 46.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.627e-05/0.3533, allocations: 72 kB / 498.3 MB, free: 46.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.831e-05/0.3534, allocations: 164 kB / 498.4 MB, free: 46.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003578/0.3537, allocations: 291.9 kB / 498.7 MB, free: 46.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002687/0.3564, allocations: 1.762 MB / 0.4888 GB, free: 44.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/0.3574, allocations: 2.725 MB / 0.4914 GB, free: 41.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002519/0.3599, allocations: 335.7 kB / 0.4917 GB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002758/0.3602, allocations: 392 kB / 0.4921 GB, free: 40.98 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.00126/0.3615, allocations: 0.749 MB / 0.4928 GB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003559/0.3618, allocations: 307.6 kB / 0.4931 GB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.363, allocations: 1.208 MB / 0.4943 GB, free: 38.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.363, allocations: 24 kB / 0.4943 GB, free: 38.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.363, allocations: 4 kB / 0.4943 GB, free: 38.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.363, allocations: 7.969 kB / 0.4943 GB, free: 38.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005529/0.3685, allocations: 5.162 MB / 0.4994 GB, free: 33.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.3685, allocations: 4 kB / 0.4994 GB, free: 33.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008472/0.3694, allocations: 363.5 kB / 0.4997 GB, free: 32.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003748/0.3697, allocations: 304.7 kB / 0.5 GB, free: 32.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.229e-05/0.3698, allocations: 36 kB / 0.5001 GB, free: 32.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007042/0.3705, allocations: 2.437 MB / 0.5024 GB, free: 30.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3705, allocations: 4 kB / 0.5024 GB, free: 30.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/0.3722, allocations: 2.19 MB / 0.5046 GB, free: 27.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003336/0.3725, allocations: 404.9 kB / 0.505 GB, free: 27.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002937/0.3728, allocations: 51.92 kB / 0.505 GB, free: 27.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000734/0.3736, allocations: 51.98 kB / 0.5051 GB, free: 27.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.3737, allocations: 136.9 kB / 0.5052 GB, free: 27.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.132e-05/0.3738, allocations: 51.98 kB / 0.5052 GB, free: 27.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001/0.3748, allocations: 1.535 MB / 0.5067 GB, free: 25.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3748, allocations: 0 / 0.5067 GB, free: 25.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00345/0.3782, allocations: 1.293 MB / 0.508 GB, free: 24.2 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.0003567/0.3786, allocations: 179.2 kB / 0.5082 GB, free: 24.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002813/0.3814, allocations: 3.201 MB / 0.5113 GB, free: 20.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001503/0.3816, allocations: 108.2 kB / 0.5114 GB, free: 20.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006003/0.3822, allocations: 0.7691 MB / 0.5122 GB, free: 19.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/0.3839, allocations: 0.8049 MB / 0.5129 GB, free: 19.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009346/0.3933, allocations: 9.694 MB / 0.5224 GB, free: 9.297 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/0.3943, allocations: 1.598 MB / 0.524 GB, free: 7.676 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001412/0.3958, allocations: 0.6443 MB / 0.5246 GB, free: 7.043 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001009/0.3968, allocations: 0.7276 MB / 0.5253 GB, free: 6.316 MB / 410.7 MB Notification: Performance of SimCode: time 1.303e-06/0.3968, allocations: 0 / 0.5253 GB, free: 6.316 MB / 410.7 MB Notification: Performance of Templates: time 0.06186/0.4586, allocations: 39.41 MB / 0.5638 GB, free: 15.3 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 -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.41986024286598]