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.001195/0.001195, allocations: 88.28 kB / 21.44 MB, free: 3.121 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.004851/0.004851, allocations: 152.3 kB / 24.69 MB, free: 9.441 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.8581/0.8581, allocations: 177 MB / 204.9 MB, free: 5.73 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.2277/0.2277, allocations: 34.24 MB / 295.6 MB, free: 0.6562 MB / 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.693e-06/1.693e-06, allocations: 0 / 443.4 MB, free: 1.016 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.179e-05/2.348e-05, allocations: 6.219 kB / 443.4 MB, free: 1.008 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.1897/0.1897, allocations: 13.02 MB / 456.5 MB, free: 36.69 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007129/0.1969, allocations: 4.804 MB / 461.3 MB, free: 33.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.1982, allocations: 122.6 kB / 461.4 MB, free: 33.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003211/0.2014, allocations: 4.104 MB / 465.5 MB, free: 31.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003324/0.2047, allocations: 2.483 MB / 468 MB, free: 30.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.2062, allocations: 1.274 MB / 469.2 MB, free: 30.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004633/0.2109, allocations: 7.351 MB / 476.6 MB, free: 27.3 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00277/0.2136, allocations: 4.289 MB / 480.9 MB, free: 25.44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00262/0.2163, allocations: 3.321 MB / 484.2 MB, free: 24.01 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003215/0.2195, allocations: 3.279 MB / 487.5 MB, free: 23.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005753/0.22, allocations: 468.2 kB / 487.9 MB, free: 23.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002037/0.2221, allocations: 1.5 MB / 489.4 MB, free: 22.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002023/0.2241, allocations: 2.908 MB / 492.3 MB, free: 21.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001574/0.2257, allocations: 1.778 MB / 494.1 MB, free: 20.78 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008638/0.2343, allocations: 9.577 MB / 0.4919 GB, free: 16.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.2343, allocations: 4 kB / 0.4919 GB, free: 16.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.2343, allocations: 1.156 kB / 0.4919 GB, free: 16.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001697/0.2345, allocations: 0 / 0.4919 GB, free: 16.13 MB / 410.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.01027/0.2448, allocations: 6.873 MB / 0.4986 GB, free: 11.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.2448, allocations: 13.34 kB / 0.4986 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01221/0.257, allocations: 3.416 MB / 0.502 GB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006349/0.2634, allocations: 4.043 MB / 0.5059 GB, free: 5.672 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.2635, allocations: 312.4 kB / 0.5062 GB, free: 5.363 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006434/0.2641, allocations: 420.5 kB / 0.5066 GB, free: 4.957 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01557/0.2797, allocations: 14.08 MB / 0.5204 GB, free: 5.953 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.921e-05/0.2798, allocations: 59.53 kB / 0.5204 GB, free: 5.895 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003816/0.2802, allocations: 203.8 kB / 0.5206 GB, free: 5.695 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002468/0.2826, allocations: 2.519 MB / 0.5231 GB, free: 3.168 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01674/0.2994, allocations: 11.81 MB / 0.5346 GB, free: 7.352 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04303/0.3424, allocations: 49.87 MB / 0.5833 GB, free: 4.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009336/0.3517, allocations: 5.504 MB / 0.5887 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002769/0.3545, allocations: 3.28 MB / 0.5919 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01374/0.3682, allocations: 13.01 MB / 0.6046 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.3683, allocations: 60.5 kB / 0.6046 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=230): time 4.037e-06/0.3683, allocations: 4 kB / 0.6047 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=267): time 0.05402/0.4223, allocations: 29.72 MB / 0.6337 GB, free: 0.5586 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/0.4224, allocations: 261.3 kB / 0.6339 GB, free: 252 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2199/0.6423, allocations: 4.938 MB / 0.6387 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006234/0.6429, allocations: 66.61 kB / 0.6388 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00122/0.6442, allocations: 4.039 MB / 0.6428 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009835/0.6452, allocations: 1.037 MB / 0.6438 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001414/0.6466, allocations: 1.53 MB / 0.6453 GB, free: 150.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.194e-05/0.6466, allocations: 312.6 kB / 0.6456 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00285/0.6494, allocations: 3.002 MB / 0.6485 GB, free: 148.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00405/0.6535, allocations: 7.442 MB / 0.6558 GB, free: 142 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008066/0.6616, allocations: 11.09 MB / 0.6666 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001027/0.6617, allocations: 45.38 kB / 0.6666 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.01604/0.6777, allocations: 11.15 MB / 0.6775 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.6778, allocations: 69.34 kB / 0.6776 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001746/0.678, allocations: 150.2 kB / 0.6777 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002117/0.6801, allocations: 1.233 MB / 0.6789 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004749/0.6849, allocations: 1.828 MB / 0.6807 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006795/0.6917, allocations: 8.062 MB / 0.6886 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005801/0.6975, allocations: 491.7 kB / 0.6891 GB, free: 124 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002029/0.6995, allocations: 453.1 kB / 0.6895 GB, free: 124 MB / 0.5261 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.005919/0.7054, allocations: 2.626 MB / 0.6921 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001034/0.7064, allocations: 451.9 kB / 0.6925 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006196/0.7126, allocations: 5.183 MB / 0.6975 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.152e-05/0.7127, allocations: 31.38 kB / 0.6976 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/0.7127, allocations: 3.938 kB / 0.6976 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-05/0.7127, allocations: 15.53 kB / 0.6976 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01526/0.728, allocations: 10.2 MB / 0.7076 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.658e-05/0.728, allocations: 7.75 kB / 0.7076 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/0.7294, allocations: 0.4902 MB / 0.708 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001475/0.7309, allocations: 0.9848 MB / 0.709 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001872/0.731, allocations: 51.7 kB / 0.7091 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004987/0.736, allocations: 7.46 MB / 0.7163 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.736, allocations: 3.938 kB / 0.7163 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008457/0.7445, allocations: 8.703 MB / 0.7248 GB, free: 98.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001494/0.746, allocations: 444.1 kB / 0.7253 GB, free: 97.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005262/0.7465, allocations: 44 kB / 0.7253 GB, free: 97.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/0.7479, allocations: 233.7 kB / 0.7255 GB, free: 97.67 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002783/0.7482, allocations: 156.3 kB / 0.7257 GB, free: 97.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/0.7483, allocations: 79.48 kB / 0.7258 GB, free: 97.52 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003378/0.7517, allocations: 2.907 MB / 0.7286 GB, free: 94.73 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.7517, allocations: 0 / 0.7286 GB, free: 94.73 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0059/0.7576, allocations: 1.48 MB / 0.73 GB, free: 93.25 MB / 0.5261 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.0005917/0.7582, allocations: 198.8 kB / 0.7302 GB, free: 93.05 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007927/0.7661, allocations: 7.017 MB / 0.7371 GB, free: 86.05 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.7661, allocations: 4.125 kB / 0.7371 GB, free: 86.05 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002048/0.7682, allocations: 2.378 MB / 0.7394 GB, free: 83.64 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/0.7708, allocations: 0.5269 MB / 0.7399 GB, free: 83.14 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01655/0.7873, allocations: 13.47 MB / 0.7531 GB, free: 69.65 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002917/0.7902, allocations: 3.561 MB / 0.7566 GB, free: 66.06 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001525/0.7918, allocations: 364.4 kB / 0.7569 GB, free: 65.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.322e-06/0.7918, allocations: 3.938 kB / 0.7569 GB, free: 65.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.2979/1.09, allocations: 126.5 MB / 0.8805 GB, free: 147.2 MB / 0.5417 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: 11.065092794597149]