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.001177/0.001177, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001235/0.001235, allocations: 167.4 kB / 25.61 MB, free: 8.578 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.9541/0.9541, allocations: 177 MB / 205.9 MB, free: 4.449 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.1576/0.1576, allocations: 34.87 MB / 297.4 MB, free: 13.35 MB / 282.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 2.064e-06/2.064e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.167e-05/3.373e-05, allocations: 3.156 kB / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01706/0.01709, allocations: 14.07 MB / 394.1 MB, free: 8.621 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008404/0.0255, allocations: 4.9 MB / 399 MB, free: 3.711 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002267/0.02776, allocations: 119.4 kB / 399.1 MB, free: 3.594 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004741/0.0325, allocations: 4.244 MB / 403.3 MB, free: 15.34 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004868/0.03737, allocations: 2.5 MB / 405.8 MB, free: 12.82 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002081/0.03945, allocations: 1.298 MB / 407.1 MB, free: 11.52 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007978/0.04743, allocations: 7.354 MB / 414.5 MB, free: 4.152 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005481/0.05291, allocations: 4.439 MB / 418.9 MB, free: 15.64 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006253/0.05916, allocations: 4.394 MB / 423.3 MB, free: 11.24 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004468/0.06363, allocations: 3.297 MB / 426.6 MB, free: 7.938 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001003/0.06463, allocations: 464 kB / 427.1 MB, free: 7.484 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002453/0.06709, allocations: 1.471 MB / 428.6 MB, free: 6.012 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002578/0.06967, allocations: 2.93 MB / 431.5 MB, free: 3.074 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002732/0.0724, allocations: 1.772 MB / 433.3 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007044/0.07944, allocations: 6.294 MB / 439.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.07945, allocations: 0 / 439.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.07945, allocations: 0 / 439.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001586/0.07961, allocations: 0 / 439.5 MB, free: 10.98 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.00992/0.08953, allocations: 6.943 MB / 446.5 MB, free: 3.957 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.08956, allocations: 12.03 kB / 446.5 MB, free: 3.945 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01163/0.1012, allocations: 2.931 MB / 449.4 MB, free: 1.008 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003997/0.1052, allocations: 2.991 MB / 452.4 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000159/0.1053, allocations: 312.3 kB / 452.7 MB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000699/0.106, allocations: 428.3 kB / 453.1 MB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0109/0.1169, allocations: 7.66 MB / 460.8 MB, free: 4.332 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001637/0.1171, allocations: 55.55 kB / 460.9 MB, free: 4.277 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004559/0.1176, allocations: 203.8 kB / 461.1 MB, free: 4.078 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002276/0.1198, allocations: 2.258 MB / 463.3 MB, free: 1.812 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01044/0.1303, allocations: 3.544 MB / 466.9 MB, free: 14.26 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2471/0.3773, allocations: 55.16 MB / 0.5098 GB, free: 66.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006877/0.3842, allocations: 3.061 MB / 0.5128 GB, free: 66.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/0.3854, allocations: 0.8305 MB / 0.5136 GB, free: 66.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008514/0.3939, allocations: 6.563 MB / 0.52 GB, free: 65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.3939, allocations: 66.58 kB / 0.5201 GB, free: 64.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=199): time 3.957e-06/0.394, allocations: 0 / 0.5201 GB, free: 64.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=225): time 0.02386/0.4178, allocations: 9.848 MB / 0.5297 GB, free: 59.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.4179, allocations: 265 kB / 0.5299 GB, free: 59.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003559/0.4214, allocations: 4.504 MB / 0.5343 GB, free: 55.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000222/0.4217, allocations: 57.7 kB / 0.5344 GB, free: 55.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00145/0.4231, allocations: 4.418 MB / 0.5387 GB, free: 51.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006173/0.4237, allocations: 0.9344 MB / 0.5396 GB, free: 50.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001148/0.4249, allocations: 1.67 MB / 0.5412 GB, free: 48.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.583e-05/0.4249, allocations: 476.8 kB / 0.5417 GB, free: 48.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.426, allocations: 0.7528 MB / 0.5424 GB, free: 47.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002505/0.4285, allocations: 7.717 MB / 0.55 GB, free: 36.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004623/0.4331, allocations: 9.148 MB / 0.5589 GB, free: 25.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001457/0.4333, allocations: 44 kB / 0.5589 GB, free: 25.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=1002) (initialization): time 0.007439/0.4407, allocations: 6.097 MB / 0.5649 GB, free: 19.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.306e-05/0.4408, allocations: 72.97 kB / 0.565 GB, free: 18.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001354/0.4409, allocations: 164 kB / 0.5651 GB, free: 18.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005219/0.4415, allocations: 295.2 kB / 0.5654 GB, free: 18.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003188/0.4446, allocations: 1.762 MB / 0.5671 GB, free: 16.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.446, allocations: 3.781 MB / 0.5708 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00397/0.4499, allocations: 335.1 kB / 0.5711 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004661/0.4504, allocations: 400 kB / 0.5715 GB, free: 12.04 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.00178/0.4522, allocations: 0.8012 MB / 0.5723 GB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008749/0.4531, allocations: 0.4992 MB / 0.5728 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/0.4546, allocations: 1.411 MB / 0.5742 GB, free: 9.293 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/0.4547, allocations: 27.98 kB / 0.5742 GB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.4547, allocations: 0 / 0.5742 GB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.4547, allocations: 11.97 kB / 0.5742 GB, free: 9.254 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008365/0.4631, allocations: 6.087 MB / 0.5802 GB, free: 3.016 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.4631, allocations: 7.938 kB / 0.5802 GB, free: 3.008 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009739/0.464, allocations: 359.5 kB / 0.5805 GB, free: 2.656 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002484/0.4643, allocations: 87.06 kB / 0.5806 GB, free: 2.566 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.4644, allocations: 47.92 kB / 0.5806 GB, free: 2.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001221/0.4656, allocations: 3.475 MB / 0.584 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.4656, allocations: 7.938 kB / 0.584 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002974/0.4686, allocations: 2.64 MB / 0.5866 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009112/0.4695, allocations: 424.9 kB / 0.587 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003848/0.4699, allocations: 43.92 kB / 0.5871 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009002/0.4708, allocations: 51.98 kB / 0.5871 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/0.471, allocations: 137 kB / 0.5872 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-05/0.4711, allocations: 55.98 kB / 0.5873 GB, free: 11.36 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001908/0.473, allocations: 1.824 MB / 0.5891 GB, free: 9.539 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.473, allocations: 4 kB / 0.5891 GB, free: 9.535 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00416/0.4771, allocations: 1.305 MB / 0.5904 GB, free: 8.23 MB / 426.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.0004429/0.4776, allocations: 194.8 kB / 0.5905 GB, free: 8.027 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004551/0.4821, allocations: 3.558 MB / 0.594 GB, free: 4.469 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.4821, allocations: 4.125 kB / 0.594 GB, free: 4.465 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008971/0.483, allocations: 0.9551 MB / 0.595 GB, free: 3.473 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002032/0.4851, allocations: 0.5357 MB / 0.5955 GB, free: 2.973 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/0.4984, allocations: 9.835 MB / 0.6051 GB, free: 8.977 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00166/0.5001, allocations: 1.606 MB / 0.6066 GB, free: 7.348 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002164/0.5022, allocations: 0.6469 MB / 0.6073 GB, free: 6.703 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001274/0.5035, allocations: 0.7753 MB / 0.608 GB, free: 5.926 MB / 442.7 MB Notification: Performance of SimCode: time 2.355e-06/0.5035, allocations: 4 kB / 0.608 GB, free: 5.922 MB / 442.7 MB Notification: Performance of Templates: time 0.06238/0.5659, allocations: 40.37 MB / 0.6475 GB, free: 14.19 MB / 490.7 MB " [Timeout remaining time 659] 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: 5.411063832230866]