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.001811/0.001811, allocations: 111.1 kB / 20.44 MB, free: 1.062 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: 213.6 kB / 23.73 MB, free: 4.16 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.607/1.607, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.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.2466/0.2466, allocations: 46.94 MB / 360.8 MB, free: 3.957 MB / 286.1 MB " [Timeout remaining time 179] 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.003534/0.003534, allocations: 79.86 kB / 0.4967 GB, free: 7.059 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3526, allocations: 66.09 MB / 0.5612 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01804/0.3706, allocations: 13 MB / 0.5739 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01169/0.3823, allocations: 4.808 MB / 0.5786 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002189/0.3845, allocations: 119.4 kB / 0.5787 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007672/0.3922, allocations: 3.898 MB / 0.5825 GB, free: 14.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006596/0.3988, allocations: 2.401 MB / 0.5848 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002755/0.4015, allocations: 1.17 MB / 0.586 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01027/0.4118, allocations: 6.587 MB / 0.5924 GB, free: 3.891 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005705/0.4175, allocations: 3.77 MB / 0.5961 GB, free: 56 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004185/0.4217, allocations: 2.239 MB / 0.5983 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005924/0.4276, allocations: 3.084 MB / 0.6013 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002512/0.4301, allocations: 456 kB / 0.6017 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004333/0.4344, allocations: 1.428 MB / 0.6031 GB, free: 8.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003955/0.4384, allocations: 2.781 MB / 0.6059 GB, free: 6.051 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00394/0.4423, allocations: 2.26 MB / 0.6081 GB, free: 3.777 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01269/0.455, allocations: 9.471 MB / 0.6173 GB, free: 10.27 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.455, allocations: 0 / 0.6173 GB, free: 10.27 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.455, allocations: 4 kB / 0.6173 GB, free: 10.26 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000283/0.4553, allocations: 0 / 0.6173 GB, free: 10.26 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.01659/0.4719, allocations: 6.828 MB / 0.624 GB, free: 3.363 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.472, allocations: 12.03 kB / 0.624 GB, free: 3.352 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02639/0.4983, allocations: 3.332 MB / 0.6272 GB, free: 12 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01169/0.51, allocations: 4.078 MB / 0.6312 GB, free: 11.87 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003189/0.5103, allocations: 312.4 kB / 0.6315 GB, free: 11.56 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00168/0.512, allocations: 435.6 kB / 0.6319 GB, free: 11.13 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02728/0.5393, allocations: 14.05 MB / 0.6457 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001572/0.5395, allocations: 59.56 kB / 0.6457 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005617/0.54, allocations: 207.8 kB / 0.6459 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004241/0.5443, allocations: 2.523 MB / 0.6484 GB, free: 9.371 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02665/0.5709, allocations: 11.78 MB / 0.6599 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07385/0.6448, allocations: 49.51 MB / 0.7082 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01705/0.6618, allocations: 5.212 MB / 0.7133 GB, free: 5.527 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005336/0.6672, allocations: 3.283 MB / 0.7165 GB, free: 2.238 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02602/0.6932, allocations: 12.69 MB / 0.7289 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.726e-05/0.6933, allocations: 60.5 kB / 0.729 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=230): time 5.14e-06/0.6933, allocations: 4 kB / 0.729 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of matching and sorting (n=267): time 0.3304/1.024, allocations: 28.72 MB / 0.757 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.996e-05/1.024, allocations: 257.3 kB / 0.7573 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005052/1.029, allocations: 4.772 MB / 0.7619 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005082/1.029, allocations: 65.7 kB / 0.762 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00151/1.031, allocations: 4.087 MB / 0.766 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001023/1.032, allocations: 1.049 MB / 0.767 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001622/1.033, allocations: 1.552 MB / 0.7685 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.146e-05/1.034, allocations: 308.1 kB / 0.7688 GB, free: 135 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003381/1.037, allocations: 3.002 MB / 0.7718 GB, free: 132 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004975/1.042, allocations: 7.444 MB / 0.779 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009434/1.051, allocations: 11.09 MB / 0.7899 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.243e-05/1.051, allocations: 44 kB / 0.7899 GB, free: 109.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.01603/1.067, allocations: 11.15 MB / 0.8008 GB, free: 98.05 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/1.068, allocations: 68 kB / 0.8009 GB, free: 97.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001792/1.068, allocations: 152 kB / 0.801 GB, free: 97.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002856/1.071, allocations: 1.227 MB / 0.8022 GB, free: 96.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006427/1.077, allocations: 1.829 MB / 0.804 GB, free: 94.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0078/1.085, allocations: 8.038 MB / 0.8118 GB, free: 86.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005706/1.091, allocations: 431.5 kB / 0.8122 GB, free: 86.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008534/1.091, allocations: 447.6 kB / 0.8127 GB, free: 85.68 MB / 0.5606 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 (951): * Single equations (assignments): 946 * 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.003302/1.095, allocations: 2.634 MB / 0.8152 GB, free: 83.03 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007837/1.095, allocations: 448.1 kB / 0.8157 GB, free: 82.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007383/1.103, allocations: 5.187 MB / 0.8207 GB, free: 77.39 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.688e-05/1.103, allocations: 28 kB / 0.8208 GB, free: 77.36 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/1.103, allocations: 4 kB / 0.8208 GB, free: 77.36 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-05/1.103, allocations: 15.95 kB / 0.8208 GB, free: 77.34 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01725/1.12, allocations: 10.06 MB / 0.8306 GB, free: 67.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/1.12, allocations: 0 / 0.8306 GB, free: 67.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00243/1.123, allocations: 0.4886 MB / 0.8311 GB, free: 66.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002383/1.125, allocations: 0.9926 MB / 0.8321 GB, free: 65.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002641/1.125, allocations: 44.67 kB / 0.8321 GB, free: 65.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006785/1.132, allocations: 7.393 MB / 0.8393 GB, free: 58.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/1.132, allocations: 4.062 kB / 0.8393 GB, free: 58.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01135/1.143, allocations: 8.708 MB / 0.8478 GB, free: 49.38 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00143/1.145, allocations: 400.9 kB / 0.8482 GB, free: 48.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001113/1.146, allocations: 40 kB / 0.8482 GB, free: 48.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002497/1.148, allocations: 179.8 kB / 0.8484 GB, free: 48.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003903/1.149, allocations: 153.5 kB / 0.8486 GB, free: 48.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001745/1.149, allocations: 72.83 kB / 0.8486 GB, free: 48.55 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003911/1.153, allocations: 2.777 MB / 0.8513 GB, free: 45.78 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/1.153, allocations: 0 / 0.8513 GB, free: 45.78 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00592/1.159, allocations: 1.347 MB / 0.8527 GB, free: 44.43 MB / 0.5606 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.0005025/1.159, allocations: 180.8 kB / 0.8528 GB, free: 44.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008942/1.168, allocations: 7.024 MB / 0.8597 GB, free: 37.22 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/1.168, allocations: 0 / 0.8597 GB, free: 37.22 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002853/1.171, allocations: 2.383 MB / 0.862 GB, free: 34.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003036/1.174, allocations: 0.5233 MB / 0.8625 GB, free: 34.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01837/1.193, allocations: 12.99 MB / 0.8752 GB, free: 21.28 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003739/1.196, allocations: 3.596 MB / 0.8787 GB, free: 17.65 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004906/1.201, allocations: 2.315 MB / 0.881 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009268/1.202, allocations: 303.4 kB / 0.8813 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of SimCode: time 9.32e-07/1.202, allocations: 0 / 0.8813 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of Templates: time 0.09133/1.293, allocations: 49.3 MB / 0.9294 GB, free: 14.34 MB / 0.6075 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.1.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: 8.024697503075004]