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.001523/0.001523, allocations: 122 kB / 18.45 MB, free: 4.59 MB / 14.72 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.001701/0.001701, allocations: 206.5 kB / 21.4 MB, free: 1.645 MB / 14.72 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.498/1.498, allocations: 227.4 MB / 251.6 MB, free: 56 kB / 190.1 MB " [Timeout remaining time 178] 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.2381/0.2381, allocations: 46.18 MB / 351.1 MB, free: 14.26 MB / 286.1 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 0.002276/0.002276, allocations: 82.06 kB / 490.2 MB, free: 27.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1412, allocations: 62.46 MB / 0.5397 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01762/0.1588, allocations: 14.97 MB / 0.5543 GB, free: 5.156 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01147/0.1703, allocations: 4.991 MB / 0.5592 GB, free: 152 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003002/0.1734, allocations: 103.7 kB / 0.5593 GB, free: 48 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007765/0.1812, allocations: 4.014 MB / 0.5632 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006947/0.1882, allocations: 2.311 MB / 0.5655 GB, free: 9.699 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003414/0.1916, allocations: 1.166 MB / 0.5666 GB, free: 8.531 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01028/0.2019, allocations: 6.585 MB / 0.573 GB, free: 1.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008143/0.2101, allocations: 4.694 MB / 0.5776 GB, free: 13.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006347/0.2165, allocations: 2.208 MB / 0.5798 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006106/0.2226, allocations: 3.014 MB / 0.5827 GB, free: 7.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002096/0.2247, allocations: 460 kB / 0.5832 GB, free: 7.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005348/0.2301, allocations: 1.521 MB / 0.5846 GB, free: 5.957 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004713/0.2349, allocations: 2.685 MB / 0.5873 GB, free: 3.266 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006717/0.2416, allocations: 2.99 MB / 0.5902 GB, free: 264 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01521/0.2568, allocations: 9.428 MB / 0.5994 GB, free: 6.793 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.2569, allocations: 0 / 0.5994 GB, free: 6.793 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.2569, allocations: 0 / 0.5994 GB, free: 6.793 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004012/0.2573, allocations: 4 kB / 0.5994 GB, free: 6.789 MB / 462.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.2881/0.5454, allocations: 6.902 MB / 0.6061 GB, free: 54.78 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.5455, allocations: 9.656 kB / 0.6061 GB, free: 54.78 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02824/0.5737, allocations: 3.334 MB / 0.6094 GB, free: 54.45 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009143/0.5829, allocations: 4.148 MB / 0.6135 GB, free: 53.41 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002232/0.5831, allocations: 314.5 kB / 0.6138 GB, free: 53.31 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001156/0.5843, allocations: 422.1 kB / 0.6142 GB, free: 53.21 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02256/0.6069, allocations: 13.84 MB / 0.6277 GB, free: 46.51 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001387/0.607, allocations: 54.95 kB / 0.6277 GB, free: 46.48 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005051/0.6075, allocations: 196.4 kB / 0.6279 GB, free: 46.39 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003303/0.6109, allocations: 2.531 MB / 0.6304 GB, free: 45.42 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02032/0.6312, allocations: 11.81 MB / 0.6419 GB, free: 35.3 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05811/0.6893, allocations: 53.56 MB / 0.6942 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01661/0.706, allocations: 5.942 MB / 0.7 GB, free: 6.602 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005101/0.7111, allocations: 3.602 MB / 0.7035 GB, free: 2.992 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02456/0.7357, allocations: 15.52 MB / 0.7187 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.426e-05/0.7358, allocations: 65.19 kB / 0.7188 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=230): time 5.75e-06/0.7358, allocations: 0 / 0.7188 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=267): time 0.09191/0.8277, allocations: 28.94 MB / 0.747 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001622/0.8279, allocations: 261.3 kB / 0.7473 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007519/0.8354, allocations: 5.061 MB / 0.7522 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006444/0.8361, allocations: 65.7 kB / 0.7523 GB, free: 488 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003425/0.8396, allocations: 4.036 MB / 0.7562 GB, free: 12.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001365/0.8409, allocations: 1.05 MB / 0.7572 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002251/0.8432, allocations: 1.552 MB / 0.7588 GB, free: 9.785 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.8433, allocations: 305.1 kB / 0.759 GB, free: 9.484 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004727/0.8481, allocations: 3.013 MB / 0.762 GB, free: 6.469 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008782/0.8569, allocations: 7.355 MB / 0.7692 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0152/0.8721, allocations: 11.1 MB / 0.78 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001229/0.8723, allocations: 40 kB / 0.7801 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.02438/0.8967, allocations: 11.23 MB / 0.791 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.8968, allocations: 71.94 kB / 0.7911 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002272/0.8971, allocations: 153.6 kB / 0.7912 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003295/0.9004, allocations: 1.228 MB / 0.7924 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006556/0.9069, allocations: 1.833 MB / 0.7942 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/0.9181, allocations: 8.382 MB / 0.8024 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005949/0.9241, allocations: 427.5 kB / 0.8028 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001932/0.926, allocations: 456 kB / 0.8033 GB, free: 7.684 MB / 0.5919 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.005867/0.9319, allocations: 2.627 MB / 0.8058 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001397/0.9333, allocations: 488.7 kB / 0.8063 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009924/0.9432, allocations: 5.246 MB / 0.8114 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.152e-05/0.9433, allocations: 31.98 kB / 0.8114 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/0.9434, allocations: 4 kB / 0.8114 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.136e-05/0.9434, allocations: 11.95 kB / 0.8115 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02298/0.9664, allocations: 11.66 MB / 0.8228 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.779e-05/0.9664, allocations: 0 / 0.8228 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002707/0.9692, allocations: 0.5031 MB / 0.8233 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002871/0.972, allocations: 0.9809 MB / 0.8243 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003605/0.9724, allocations: 51.98 kB / 0.8243 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009599/0.982, allocations: 7.7 MB / 0.8319 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.9821, allocations: 8 kB / 0.8319 GB, free: 9.984 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0145/0.9966, allocations: 8.771 MB / 0.8404 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/0.9979, allocations: 0.5173 MB / 0.8409 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006175/0.9985, allocations: 44 kB / 0.841 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002064/1.001, allocations: 179.7 kB / 0.8411 GB, free: 392 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004228/1.001, allocations: 141.8 kB / 0.8413 GB, free: 252 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002039/1.001, allocations: 79.98 kB / 0.8414 GB, free: 172 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.2674/1.269, allocations: 3.148 MB / 0.8444 GB, free: 207.3 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7.71e-07/1.269, allocations: 0 / 0.8444 GB, free: 207.3 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.007344/1.276, allocations: 1.351 MB / 0.8457 GB, free: 207.3 MB / 0.6231 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.0006124/1.277, allocations: 186.4 kB / 0.8459 GB, free: 207.2 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01196/1.289, allocations: 7.343 MB / 0.8531 GB, free: 205 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/1.289, allocations: 1.062 kB / 0.8531 GB, free: 205 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003644/1.292, allocations: 2.565 MB / 0.8556 GB, free: 204 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003292/1.296, allocations: 0.5929 MB / 0.8562 GB, free: 203.7 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01754/1.313, allocations: 12.93 MB / 0.8688 GB, free: 198.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004357/1.318, allocations: 4.114 MB / 0.8728 GB, free: 196.9 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.004985/1.323, allocations: 2.363 MB / 0.8751 GB, free: 196.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/1.324, allocations: 326 kB / 0.8754 GB, free: 196.7 MB / 0.6231 GB Notification: Performance of SimCode: time 1.363e-06/1.324, allocations: 0 / 0.8754 GB, free: 196.7 MB / 0.6231 GB Notification: Performance of Templates: time 0.07484/1.399, allocations: 47.76 MB / 0.9221 GB, free: 155.3 MB / 0.6231 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.879453738220036]