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.0009805/0.0009805, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001019/0.001019, allocations: 164.9 kB / 24.99 MB, free: 8.219 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.9933/0.9933, allocations: 177 MB / 205.2 MB, free: 5.531 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.2703/0.2703, allocations: 34.86 MB / 296.6 MB, free: 0.5273 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 2.074e-06/2.074e-06, allocations: 0 / 378.8 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.378e-05/3.586e-05, allocations: 2.312 kB / 378.8 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01088/0.01092, allocations: 12.77 MB / 391.5 MB, free: 5.559 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008309/0.01923, allocations: 4.751 MB / 396.3 MB, free: 0.793 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001922/0.02115, allocations: 95.56 kB / 396.4 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004768/0.02592, allocations: 4.272 MB / 400.6 MB, free: 12.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005586/0.0315, allocations: 2.309 MB / 402.9 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002295/0.0338, allocations: 1.325 MB / 404.3 MB, free: 8.766 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008275/0.04207, allocations: 6.548 MB / 410.8 MB, free: 2.211 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006381/0.04846, allocations: 4.674 MB / 415.5 MB, free: 13.46 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005031/0.05349, allocations: 3.329 MB / 418.8 MB, free: 10.13 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003928/0.05741, allocations: 3.313 MB / 422.1 MB, free: 6.809 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001068/0.05848, allocations: 0.5078 MB / 422.6 MB, free: 6.301 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002346/0.06083, allocations: 1.603 MB / 424.2 MB, free: 4.695 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002065/0.06289, allocations: 2.852 MB / 427.1 MB, free: 1.836 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002312/0.0652, allocations: 1.792 MB / 428.9 MB, free: 40 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007631/0.07284, allocations: 6.342 MB / 435.2 MB, free: 9.672 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.07284, allocations: 3.984 kB / 435.2 MB, free: 9.668 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.07285, allocations: 4 kB / 435.2 MB, free: 9.664 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002629/0.07311, allocations: 0 / 435.2 MB, free: 9.664 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.01195/0.08506, allocations: 7.061 MB / 442.3 MB, free: 2.523 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.08511, allocations: 8.031 kB / 442.3 MB, free: 2.516 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1833/0.2684, allocations: 3.349 MB / 445.7 MB, free: 99.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006686/0.2751, allocations: 3.293 MB / 449 MB, free: 98.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003293/0.2754, allocations: 369.9 kB / 449.3 MB, free: 98.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001443/0.2769, allocations: 431.4 kB / 449.7 MB, free: 98.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01219/0.289, allocations: 8.506 MB / 458.2 MB, free: 93.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001406/0.2892, allocations: 50.89 kB / 458.3 MB, free: 93.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003786/0.2896, allocations: 200.2 kB / 458.5 MB, free: 93.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002008/0.2916, allocations: 2.411 MB / 460.9 MB, free: 93.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01031/0.3019, allocations: 4.781 MB / 465.7 MB, free: 92.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04269/0.3446, allocations: 54.41 MB / 0.5079 GB, free: 48.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007014/0.3516, allocations: 2.681 MB / 0.5105 GB, free: 48.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00183/0.3534, allocations: 0.9814 MB / 0.5115 GB, free: 47.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01082/0.3642, allocations: 7.309 MB / 0.5186 GB, free: 40.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/0.3643, allocations: 66.58 kB / 0.5187 GB, free: 40.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=197): time 4.508e-06/0.3643, allocations: 0 / 0.5187 GB, free: 40.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=248): time 0.07717/0.4415, allocations: 31.32 MB / 0.5493 GB, free: 10.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.4415, allocations: 231.6 kB / 0.5495 GB, free: 9.844 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00386/0.4454, allocations: 4.088 MB / 0.5535 GB, free: 5.734 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003568/0.4457, allocations: 61.7 kB / 0.5535 GB, free: 5.668 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001439/0.4472, allocations: 4.172 MB / 0.5576 GB, free: 1.453 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006946/0.4479, allocations: 0.9964 MB / 0.5586 GB, free: 460 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001807/0.4497, allocations: 1.58 MB / 0.5601 GB, free: 14.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.4498, allocations: 476.8 kB / 0.5606 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001984/0.4518, allocations: 1.174 MB / 0.5617 GB, free: 13.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005448/0.4572, allocations: 7.495 MB / 0.569 GB, free: 2.828 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01097/0.4682, allocations: 9.504 MB / 0.5783 GB, free: 6.465 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000176/0.4684, allocations: 44 kB / 0.5784 GB, free: 6.422 MB / 442.7 MB Notification: Performance of matching and sorting (n=963) (initialization): time 0.0179/0.4863, allocations: 9.161 MB / 0.5873 GB, free: 13.25 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.729e-05/0.4863, allocations: 68 kB / 0.5874 GB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001411/0.4865, allocations: 148 kB / 0.5875 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006973/0.4935, allocations: 2.859 MB / 0.5903 GB, free: 10.17 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003958/0.4974, allocations: 1.63 MB / 0.5919 GB, free: 8.535 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/0.5093, allocations: 6.975 MB / 0.5987 GB, free: 1.438 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004644/0.5139, allocations: 499.3 kB / 0.5992 GB, free: 0.9492 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001079/0.515, allocations: 432 kB / 0.5996 GB, free: 0.5273 MB / 458.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.1697/0.6847, allocations: 0.7414 MB / 0.6003 GB, free: 123.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001023/0.6857, allocations: 487.9 kB / 0.6008 GB, free: 123.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008707/0.6944, allocations: 4.77 MB / 0.6054 GB, free: 122.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.224e-05/0.6945, allocations: 26.16 kB / 0.6055 GB, free: 122.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-05/0.6945, allocations: 14.59 kB / 0.6055 GB, free: 122.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.926e-05/0.6945, allocations: 12.44 kB / 0.6055 GB, free: 122.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02079/0.7153, allocations: 11.37 MB / 0.6166 GB, free: 121.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.753e-05/0.7153, allocations: 0 / 0.6166 GB, free: 121.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/0.7166, allocations: 397.6 kB / 0.617 GB, free: 121.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006947/0.7236, allocations: 2.933 MB / 0.6198 GB, free: 121.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005068/0.7241, allocations: 44.12 kB / 0.6199 GB, free: 121.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009081/0.7331, allocations: 5.842 MB / 0.6256 GB, free: 119.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.7332, allocations: 0 / 0.6256 GB, free: 119.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01369/0.7468, allocations: 6.56 MB / 0.632 GB, free: 117.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/0.748, allocations: 386.6 kB / 0.6324 GB, free: 117.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000808/0.7488, allocations: 37.97 kB / 0.6324 GB, free: 117.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001692/0.7505, allocations: 256.7 kB / 0.6326 GB, free: 117.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005739/0.7511, allocations: 165.4 kB / 0.6328 GB, free: 117.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001607/0.7512, allocations: 63.33 kB / 0.6329 GB, free: 117.6 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002789/0.754, allocations: 1.764 MB / 0.6346 GB, free: 117 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.754, allocations: 0 / 0.6346 GB, free: 117 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006162/0.7602, allocations: 1.573 MB / 0.6361 GB, free: 116.8 MB / 458.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.0007219/0.7609, allocations: 234.2 kB / 0.6363 GB, free: 116.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007244/0.7681, allocations: 4.648 MB / 0.6409 GB, free: 115.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.7681, allocations: 0 / 0.6409 GB, free: 115.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002047/0.7702, allocations: 1.604 MB / 0.6425 GB, free: 114.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/0.7725, allocations: 481.9 kB / 0.6429 GB, free: 114.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/0.7872, allocations: 10.23 MB / 0.6529 GB, free: 107.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001519/0.7887, allocations: 1.646 MB / 0.6545 GB, free: 106.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002751/0.7915, allocations: 1.805 MB / 0.6563 GB, free: 105.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006342/0.7921, allocations: 276.5 kB / 0.6565 GB, free: 105.3 MB / 458.7 MB Notification: Performance of SimCode: time 2.345e-06/0.7921, allocations: 0 / 0.6565 GB, free: 105.3 MB / 458.7 MB Notification: Performance of Templates: time 0.08795/0.8801, allocations: 59.95 MB / 0.7151 GB, free: 45.75 MB / 458.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.155084067955613]