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.001571/0.001571, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001834/0.001834, allocations: 160.9 kB / 24.99 MB, free: 8.801 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.045/1.045, allocations: 177 MB / 205.2 MB, free: 5.598 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.2904/0.2904, allocations: 34.87 MB / 296.6 MB, free: 0.5625 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.163e-06/1.163e-06, allocations: 0 / 378.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.748e-05, allocations: 2.312 kB / 378.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01115/0.01116, allocations: 14.38 MB / 393.1 MB, free: 3.953 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007716/0.01888, allocations: 4.925 MB / 398.1 MB, free: 15.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001418/0.0203, allocations: 119.4 kB / 398.2 MB, free: 14.9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004124/0.02442, allocations: 4.299 MB / 402.5 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003295/0.02772, allocations: 2.476 MB / 405 MB, free: 8.098 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.02922, allocations: 1.306 MB / 406.3 MB, free: 6.789 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005722/0.03495, allocations: 7.347 MB / 413.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00333/0.03827, allocations: 4.431 MB / 418 MB, free: 10.93 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003217/0.04149, allocations: 3.329 MB / 421.4 MB, free: 7.59 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003084/0.04458, allocations: 3.344 MB / 424.7 MB, free: 4.238 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007009/0.04528, allocations: 468 kB / 425.2 MB, free: 3.781 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001777/0.04705, allocations: 1.498 MB / 426.7 MB, free: 2.281 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002091/0.04914, allocations: 2.938 MB / 429.6 MB, free: 15.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001581/0.05073, allocations: 1.784 MB / 431.4 MB, free: 13.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00563/0.05636, allocations: 6.298 MB / 437.7 MB, free: 7.227 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.05636, allocations: 4 kB / 437.7 MB, free: 7.223 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.05636, allocations: 0 / 437.7 MB, free: 7.223 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001094/0.05647, allocations: 4 kB / 437.7 MB, free: 7.219 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.1636/0.2201, allocations: 7.311 MB / 445 MB, free: 98.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.2201, allocations: 7.938 kB / 445 MB, free: 98.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01312/0.2332, allocations: 3.934 MB / 449 MB, free: 98.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00553/0.2388, allocations: 3.733 MB / 452.7 MB, free: 97.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/0.2389, allocations: 311.1 kB / 453 MB, free: 97.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006832/0.2396, allocations: 429.4 kB / 453.4 MB, free: 97.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01152/0.2511, allocations: 8.732 MB / 462.1 MB, free: 92.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001613/0.2513, allocations: 61.84 kB / 462.2 MB, free: 92.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004137/0.2517, allocations: 198.4 kB / 462.4 MB, free: 92.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002199/0.2539, allocations: 2.524 MB / 464.9 MB, free: 92.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01014/0.264, allocations: 4.941 MB / 469.9 MB, free: 91.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0361/0.3001, allocations: 55.63 MB / 0.5132 GB, free: 45.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008322/0.3084, allocations: 3.578 MB / 0.5167 GB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/0.31, allocations: 1.205 MB / 0.5178 GB, free: 41.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009919/0.3199, allocations: 8.823 MB / 0.5265 GB, free: 32.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.165e-05/0.32, allocations: 59.39 kB / 0.5265 GB, free: 32.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=230): time 4.489e-06/0.32, allocations: 0 / 0.5265 GB, free: 32.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=267): time 0.04341/0.3634, allocations: 20.49 MB / 0.5465 GB, free: 11.81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.09e-05/0.3635, allocations: 265.3 kB / 0.5468 GB, free: 11.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004404/0.3679, allocations: 4.341 MB / 0.551 GB, free: 7.125 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001651/0.368, allocations: 61.7 kB / 0.5511 GB, free: 7.059 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001721/0.3697, allocations: 4.237 MB / 0.5552 GB, free: 2.781 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008977/0.3706, allocations: 1.07 MB / 0.5563 GB, free: 1.703 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001633/0.3723, allocations: 1.632 MB / 0.5579 GB, free: 64 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3724, allocations: 476.8 kB / 0.5583 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002026/0.3744, allocations: 0.9988 MB / 0.5593 GB, free: 14.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005348/0.3798, allocations: 7.494 MB / 0.5666 GB, free: 4.164 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008219/0.388, allocations: 9.24 MB / 0.5756 GB, free: 8.027 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.673e-05/0.3881, allocations: 40 kB / 0.5757 GB, free: 7.988 MB / 442.7 MB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.01142/0.3995, allocations: 7.288 MB / 0.5828 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.175e-05/0.3996, allocations: 71.98 kB / 0.5829 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001286/0.3997, allocations: 152.9 kB / 0.583 GB, free: 480 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00211/0.4018, allocations: 0.8095 MB / 0.5838 GB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007328/0.4091, allocations: 1.829 MB / 0.5856 GB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008353/0.4175, allocations: 5.784 MB / 0.5912 GB, free: 7.801 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003983/0.4215, allocations: 499.3 kB / 0.5917 GB, free: 7.312 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003871/0.4219, allocations: 448 kB / 0.5921 GB, free: 6.875 MB / 458.7 MB 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.001528/0.4234, allocations: 0.783 MB / 0.5929 GB, free: 6.078 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006897/0.4241, allocations: 0.5049 MB / 0.5934 GB, free: 5.57 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003813/0.4279, allocations: 2.659 MB / 0.596 GB, free: 2.887 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-05/0.4279, allocations: 28 kB / 0.596 GB, free: 2.859 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.4279, allocations: 8 kB / 0.596 GB, free: 2.852 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.4279, allocations: 15.89 kB / 0.596 GB, free: 2.836 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1677/0.5956, allocations: 7.461 MB / 0.6033 GB, free: 125.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/0.5956, allocations: 3 kB / 0.6033 GB, free: 125.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/0.597, allocations: 0.499 MB / 0.6038 GB, free: 125.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001369/0.5983, allocations: 0.5819 MB / 0.6044 GB, free: 125 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001552/0.5985, allocations: 48.34 kB / 0.6044 GB, free: 125 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00338/0.6019, allocations: 5.31 MB / 0.6096 GB, free: 121.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6019, allocations: 0 / 0.6096 GB, free: 121.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004972/0.6069, allocations: 3.881 MB / 0.6134 GB, free: 120.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006124/0.6075, allocations: 440.6 kB / 0.6138 GB, free: 120.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003241/0.6078, allocations: 45.47 kB / 0.6139 GB, free: 120.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/0.6089, allocations: 230.4 kB / 0.6141 GB, free: 120.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002657/0.6092, allocations: 153.7 kB / 0.6142 GB, free: 120.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/0.6093, allocations: 66.2 kB / 0.6143 GB, free: 120.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001808/0.6111, allocations: 1.905 MB / 0.6162 GB, free: 120.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6111, allocations: 0 / 0.6162 GB, free: 120.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003445/0.6146, allocations: 1.481 MB / 0.6176 GB, free: 120.2 MB / 458.7 MB 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.0003719/0.6149, allocations: 210.4 kB / 0.6178 GB, free: 120 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004322/0.6193, allocations: 4.274 MB / 0.622 GB, free: 118.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6193, allocations: 3.219 kB / 0.622 GB, free: 118.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.6204, allocations: 1.375 MB / 0.6233 GB, free: 118 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.622, allocations: 0.5393 MB / 0.6238 GB, free: 117.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01262/0.6346, allocations: 10.26 MB / 0.6339 GB, free: 113 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001489/0.6361, allocations: 1.644 MB / 0.6355 GB, free: 112.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00346/0.6395, allocations: 1.949 MB / 0.6374 GB, free: 112.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008247/0.6404, allocations: 318.8 kB / 0.6377 GB, free: 112.4 MB / 458.7 MB Notification: Performance of SimCode: time 2.374e-06/0.6404, allocations: 0 / 0.6377 GB, free: 112.4 MB / 458.7 MB Notification: Performance of Templates: time 0.05449/0.6949, allocations: 45.69 MB / 0.6823 GB, free: 77.66 MB / 458.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.142808957956731]