Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.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.001362/0.001362, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001448/0.001448, allocations: 160.5 kB / 24.55 MB, free: 16 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 1.047/1.047, allocations: 177 MB / 204.8 MB, free: 5.578 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.3002/0.3002, allocations: 34.86 MB / 296.3 MB, free: 0.4961 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.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.756e-05, allocations: 3.016 kB / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01076/0.01079, allocations: 12.81 MB / 391.6 MB, free: 5.191 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009274/0.02006, allocations: 4.767 MB / 396.4 MB, free: 420 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00229/0.02235, allocations: 99.5 kB / 396.5 MB, free: 320 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005205/0.02756, allocations: 4.268 MB / 400.7 MB, free: 12.03 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005741/0.0333, allocations: 2.325 MB / 403 MB, free: 9.695 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002413/0.03571, allocations: 1.321 MB / 404.4 MB, free: 8.371 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007614/0.04333, allocations: 6.544 MB / 410.9 MB, free: 1.816 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005678/0.04901, allocations: 4.674 MB / 415.6 MB, free: 13.07 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006006/0.05501, allocations: 3.333 MB / 418.9 MB, free: 9.73 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004358/0.05937, allocations: 3.305 MB / 422.2 MB, free: 6.418 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001379/0.06075, allocations: 0.5078 MB / 422.7 MB, free: 5.91 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002681/0.06343, allocations: 1.607 MB / 424.3 MB, free: 4.301 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002703/0.06613, allocations: 2.852 MB / 427.2 MB, free: 1.441 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002967/0.0691, allocations: 1.8 MB / 429 MB, free: 15.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008483/0.07758, allocations: 6.342 MB / 435.3 MB, free: 9.273 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.07759, allocations: 0 / 435.3 MB, free: 9.273 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.07759, allocations: 0 / 435.3 MB, free: 9.273 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002774/0.07787, allocations: 0 / 435.3 MB, free: 9.273 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.0117/0.08956, allocations: 7.057 MB / 442.4 MB, free: 2.137 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.08962, allocations: 12.02 kB / 442.4 MB, free: 2.125 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1755/0.2651, allocations: 3.348 MB / 445.7 MB, free: 91.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005543/0.2706, allocations: 3.298 MB / 449 MB, free: 91.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002531/0.2709, allocations: 367.5 kB / 449.4 MB, free: 91.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009536/0.2718, allocations: 436 kB / 449.8 MB, free: 91.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01236/0.2842, allocations: 8.51 MB / 458.3 MB, free: 87.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001436/0.2843, allocations: 52.45 kB / 458.4 MB, free: 87.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003973/0.2847, allocations: 198.4 kB / 458.6 MB, free: 87.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002079/0.2868, allocations: 2.404 MB / 461 MB, free: 87.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/0.298, allocations: 4.771 MB / 465.8 MB, free: 86.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04098/0.339, allocations: 54.41 MB / 0.508 GB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007007/0.346, allocations: 2.693 MB / 0.5106 GB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001614/0.3476, allocations: 0.9715 MB / 0.5116 GB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01004/0.3577, allocations: 7.306 MB / 0.5187 GB, free: 36.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.909e-05/0.3577, allocations: 58.64 kB / 0.5187 GB, free: 36.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=197): time 4.519e-06/0.3577, allocations: 4 kB / 0.5188 GB, free: 36.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=248): time 0.06628/0.424, allocations: 31.33 MB / 0.5493 GB, free: 6.773 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.051e-05/0.4241, allocations: 235.6 kB / 0.5496 GB, free: 6.496 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004535/0.4286, allocations: 4.072 MB / 0.5535 GB, free: 2.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005145/0.4291, allocations: 61.7 kB / 0.5536 GB, free: 2.344 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001954/0.4311, allocations: 4.169 MB / 0.5577 GB, free: 14.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001283/0.4324, allocations: 1.001 MB / 0.5587 GB, free: 13.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001638/0.434, allocations: 1.576 MB / 0.5602 GB, free: 11.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.4341, allocations: 476.8 kB / 0.5606 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001913/0.436, allocations: 1.17 MB / 0.5618 GB, free: 9.984 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004907/0.441, allocations: 7.509 MB / 0.5691 GB, free: 15.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008695/0.4496, allocations: 9.493 MB / 0.5784 GB, free: 3.289 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001141/0.4498, allocations: 51.58 kB / 0.5784 GB, free: 3.246 MB / 442.7 MB Notification: Performance of matching and sorting (n=963) (initialization): time 0.01671/0.4665, allocations: 9.156 MB / 0.5874 GB, free: 10.08 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.557e-05/0.4666, allocations: 68.94 kB / 0.5875 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001908/0.4668, allocations: 151.9 kB / 0.5876 GB, free: 9.867 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007116/0.4739, allocations: 2.866 MB / 0.5904 GB, free: 6.992 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003659/0.4775, allocations: 1.63 MB / 0.592 GB, free: 5.359 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01123/0.4888, allocations: 6.968 MB / 0.5988 GB, free: 14.28 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004286/0.493, allocations: 499.4 kB / 0.5993 GB, free: 13.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00081/0.4939, allocations: 440 kB / 0.5997 GB, free: 13.36 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (880): * Single equations (assignments): 876 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,58,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001906/0.4958, allocations: 0.7399 MB / 0.6004 GB, free: 12.61 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008707/0.4966, allocations: 479.1 kB / 0.6009 GB, free: 12.14 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008412/0.505, allocations: 4.77 MB / 0.6055 GB, free: 7.34 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.305e-05/0.5051, allocations: 28 kB / 0.6056 GB, free: 7.312 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/0.5051, allocations: 19.94 kB / 0.6056 GB, free: 7.293 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-05/0.5051, allocations: 11.95 kB / 0.6056 GB, free: 7.281 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2099/0.715, allocations: 11.37 MB / 0.6167 GB, free: 130.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.399e-05/0.715, allocations: 5.906 kB / 0.6167 GB, free: 130.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/0.7163, allocations: 396.8 kB / 0.6171 GB, free: 130.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006579/0.7229, allocations: 2.931 MB / 0.6199 GB, free: 130.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004456/0.7233, allocations: 42.48 kB / 0.62 GB, free: 130.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009299/0.7326, allocations: 5.837 MB / 0.6257 GB, free: 128.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.7326, allocations: 4.375 kB / 0.6257 GB, free: 128.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/0.7437, allocations: 6.557 MB / 0.6321 GB, free: 128.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001484/0.7452, allocations: 388.3 kB / 0.6324 GB, free: 128.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000717/0.7459, allocations: 47.06 kB / 0.6325 GB, free: 128.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/0.7473, allocations: 252.3 kB / 0.6327 GB, free: 128.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000477/0.7478, allocations: 160.5 kB / 0.6329 GB, free: 128.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001364/0.7479, allocations: 61.7 kB / 0.6329 GB, free: 128.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00227/0.7502, allocations: 1.765 MB / 0.6347 GB, free: 127.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7502, allocations: 0 / 0.6347 GB, free: 127.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004749/0.755, allocations: 1.57 MB / 0.6362 GB, free: 127.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.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 (173): * Single equations (assignments): 169 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005547/0.7555, allocations: 237.9 kB / 0.6364 GB, free: 127.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007084/0.7626, allocations: 4.649 MB / 0.641 GB, free: 127.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.7626, allocations: 0 / 0.641 GB, free: 127.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002426/0.765, allocations: 1.594 MB / 0.6425 GB, free: 127.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/0.7673, allocations: 489 kB / 0.643 GB, free: 127.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/0.7841, allocations: 10.22 MB / 0.653 GB, free: 123.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002171/0.7862, allocations: 1.651 MB / 0.6546 GB, free: 122.6 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003154/0.7894, allocations: 1.807 MB / 0.6563 GB, free: 122.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000691/0.7901, allocations: 272.7 kB / 0.6566 GB, free: 122.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.964e-06/0.7901, allocations: 0 / 0.6566 GB, free: 122.4 MB / 474.7 MB Notification: Performance of Templates: time 0.0659/0.856, allocations: 59.96 MB / 0.7152 GB, free: 71.23 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.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.29979663901031]