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.001006/0.001006, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.0009947/0.0009947, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.9758/0.9758, allocations: 177 MB / 204.8 MB, free: 5.609 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.2985/0.2985, allocations: 34.87 MB / 296.3 MB, free: 0.543 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 2.725e-06/2.725e-06, allocations: 4 kB / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/3.171e-05, allocations: 2.312 kB / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01977/0.0198, allocations: 14.44 MB / 393.2 MB, free: 3.594 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01282/0.03262, allocations: 4.933 MB / 398.1 MB, free: 14.64 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002318/0.03494, allocations: 123.4 kB / 398.3 MB, free: 14.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006787/0.04172, allocations: 4.303 MB / 402.6 MB, free: 10.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004408/0.04613, allocations: 2.484 MB / 405.1 MB, free: 7.711 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.04793, allocations: 1.298 MB / 406.4 MB, free: 6.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007046/0.05498, allocations: 7.356 MB / 413.7 MB, free: 15.04 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005739/0.06072, allocations: 4.431 MB / 418.1 MB, free: 10.54 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004517/0.06523, allocations: 3.329 MB / 421.5 MB, free: 7.207 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004206/0.06944, allocations: 3.34 MB / 424.8 MB, free: 3.859 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008628/0.0703, allocations: 468 kB / 425.3 MB, free: 3.402 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002701/0.073, allocations: 1.498 MB / 426.8 MB, free: 1.902 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002354/0.07536, allocations: 2.934 MB / 429.7 MB, free: 14.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001725/0.07708, allocations: 1.791 MB / 431.5 MB, free: 13.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006039/0.08312, allocations: 6.306 MB / 437.8 MB, free: 6.836 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/0.08313, allocations: 0 / 437.8 MB, free: 6.836 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.08313, allocations: 0 / 437.8 MB, free: 6.836 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000156/0.08329, allocations: 0 / 437.8 MB, free: 6.836 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.195/0.2783, allocations: 7.309 MB / 445.1 MB, free: 91.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.2783, allocations: 9.906 kB / 445.1 MB, free: 91.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01282/0.2911, allocations: 3.935 MB / 449 MB, free: 91.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006352/0.2975, allocations: 3.734 MB / 452.8 MB, free: 91.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002286/0.2977, allocations: 312.7 kB / 453.1 MB, free: 91.13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001097/0.2988, allocations: 423.8 kB / 453.5 MB, free: 91.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01267/0.3115, allocations: 8.736 MB / 462.2 MB, free: 87.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001777/0.3117, allocations: 56.66 kB / 462.3 MB, free: 87.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005391/0.3122, allocations: 201.1 kB / 462.5 MB, free: 86.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002322/0.3145, allocations: 2.524 MB / 465 MB, free: 86.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01101/0.3255, allocations: 4.936 MB / 469.9 MB, free: 85.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04542/0.371, allocations: 55.63 MB / 0.5133 GB, free: 40.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02025/0.3912, allocations: 3.576 MB / 0.5168 GB, free: 38.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01128/0.4025, allocations: 1.214 MB / 0.5179 GB, free: 37.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04556/0.448, allocations: 8.808 MB / 0.5265 GB, free: 29.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.468e-05/0.4481, allocations: 75.25 kB / 0.5266 GB, free: 29.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=230): time 6.052e-06/0.4481, allocations: 4 kB / 0.5266 GB, free: 29.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=267): time 0.05158/0.4997, allocations: 20.48 MB / 0.5466 GB, free: 8.938 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.4997, allocations: 257.3 kB / 0.5469 GB, free: 8.633 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003567/0.5033, allocations: 4.345 MB / 0.5511 GB, free: 4.266 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001365/0.5034, allocations: 61.7 kB / 0.5512 GB, free: 4.199 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001494/0.5049, allocations: 4.232 MB / 0.5553 GB, free: 15.99 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008653/0.5058, allocations: 1.072 MB / 0.5563 GB, free: 14.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001648/0.5074, allocations: 1.632 MB / 0.5579 GB, free: 13.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.5076, allocations: 480.5 kB / 0.5584 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001507/0.5091, allocations: 1.003 MB / 0.5594 GB, free: 11.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005429/0.5145, allocations: 7.485 MB / 0.5667 GB, free: 1.406 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007885/0.5224, allocations: 9.259 MB / 0.5757 GB, free: 5.301 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-05/0.5224, allocations: 44 kB / 0.5758 GB, free: 5.258 MB / 442.7 MB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.01013/0.5326, allocations: 7.268 MB / 0.5829 GB, free: 13.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.866e-05/0.5326, allocations: 71.94 kB / 0.5829 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.422e-05/0.5327, allocations: 155.9 kB / 0.5831 GB, free: 13.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001582/0.5343, allocations: 0.8134 MB / 0.5839 GB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003436/0.5377, allocations: 1.833 MB / 0.5857 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004298/0.542, allocations: 5.762 MB / 0.5913 GB, free: 5.109 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003075/0.5451, allocations: 0.4954 MB / 0.5918 GB, free: 4.613 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000664/0.5458, allocations: 444 kB / 0.5922 GB, free: 4.18 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.001418/0.5472, allocations: 0.7809 MB / 0.593 GB, free: 3.387 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005445/0.5477, allocations: 0.5166 MB / 0.5935 GB, free: 2.867 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003613/0.5514, allocations: 2.651 MB / 0.5961 GB, free: 196 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.322e-05/0.5514, allocations: 32 kB / 0.5961 GB, free: 164 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.5514, allocations: 4 kB / 0.5961 GB, free: 160 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.5514, allocations: 11.95 kB / 0.5961 GB, free: 148 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01013/0.5615, allocations: 7.47 MB / 0.6034 GB, free: 8.676 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.5615, allocations: 3.938 kB / 0.6034 GB, free: 8.672 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/0.5628, allocations: 0.5031 MB / 0.6039 GB, free: 8.168 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00135/0.5642, allocations: 0.5804 MB / 0.6045 GB, free: 7.578 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001282/0.5643, allocations: 48 kB / 0.6045 GB, free: 7.531 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004299/0.5686, allocations: 5.313 MB / 0.6097 GB, free: 1.98 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5686, allocations: 112 / 0.6097 GB, free: 1.98 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1936/0.7622, allocations: 3.885 MB / 0.6135 GB, free: 132.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001523/0.7638, allocations: 441.2 kB / 0.6139 GB, free: 132.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003593/0.7641, allocations: 39.47 kB / 0.614 GB, free: 132.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/0.7654, allocations: 232.3 kB / 0.6142 GB, free: 132.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003046/0.7657, allocations: 155 kB / 0.6143 GB, free: 132.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/0.7658, allocations: 72.88 kB / 0.6144 GB, free: 132.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002395/0.7682, allocations: 1.898 MB / 0.6162 GB, free: 132.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.7682, allocations: 3.531 kB / 0.6162 GB, free: 132.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004785/0.773, allocations: 1.49 MB / 0.6177 GB, free: 132.2 MB / 474.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.0004592/0.7735, allocations: 193.5 kB / 0.6179 GB, free: 132.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005214/0.7787, allocations: 4.278 MB / 0.6221 GB, free: 131.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.7787, allocations: 0 / 0.6221 GB, free: 131.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.78, allocations: 1.374 MB / 0.6234 GB, free: 131.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/0.7816, allocations: 0.5363 MB / 0.6239 GB, free: 131.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/0.7938, allocations: 10.26 MB / 0.6339 GB, free: 127.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/0.7951, allocations: 1.649 MB / 0.6356 GB, free: 127.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003058/0.7981, allocations: 1.957 MB / 0.6375 GB, free: 127 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007872/0.7989, allocations: 312.5 kB / 0.6378 GB, free: 127 MB / 474.7 MB Notification: Performance of SimCode: time 1.754e-06/0.7989, allocations: 0 / 0.6378 GB, free: 127 MB / 474.7 MB Notification: Performance of Templates: time 0.05992/0.8588, allocations: 45.69 MB / 0.6824 GB, free: 101.1 MB / 474.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: 4.999953064136207]