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.002474/0.002474, allocations: 99.53 kB / 20.96 MB, free: 3.449 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.002939/0.002939, allocations: 160.8 kB / 24.27 MB, free: 148 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.724/1.724, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3656/0.3656, allocations: 34.25 MB / 295.2 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 179] 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.385e-06/2.385e-06, allocations: 0 / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.524e-05/3.762e-05, allocations: 2.312 kB / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.03254/0.03258, allocations: 12.72 MB / 389.9 MB, free: 6.129 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02038/0.05296, allocations: 4.759 MB / 394.7 MB, free: 1.355 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004426/0.05738, allocations: 99.56 kB / 394.8 MB, free: 1.258 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01689/0.07427, allocations: 4.26 MB / 399.1 MB, free: 12.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01173/0.086, allocations: 2.325 MB / 401.4 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006506/0.09251, allocations: 1.314 MB / 402.7 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01413/0.1066, allocations: 6.536 MB / 409.2 MB, free: 2.785 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009308/0.1159, allocations: 4.682 MB / 413.9 MB, free: 14.03 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00868/0.1246, allocations: 3.333 MB / 417.2 MB, free: 10.69 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006635/0.1313, allocations: 3.317 MB / 420.6 MB, free: 7.367 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001819/0.1331, allocations: 0.5078 MB / 421.1 MB, free: 6.859 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004503/0.1376, allocations: 1.592 MB / 422.7 MB, free: 5.266 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004543/0.1421, allocations: 2.852 MB / 425.5 MB, free: 2.406 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005042/0.1472, allocations: 1.799 MB / 427.3 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01745/0.1646, allocations: 10.11 MB / 437.4 MB, free: 6.457 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.1646, allocations: 0 / 437.4 MB, free: 6.457 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1646, allocations: 7.938 kB / 437.4 MB, free: 6.449 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004212/0.165, allocations: 0 / 437.4 MB, free: 6.449 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.2078/0.3728, allocations: 7.666 MB / 445.1 MB, free: 95.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.3729, allocations: 8.688 kB / 445.1 MB, free: 95.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0196/0.3925, allocations: 3.349 MB / 448.5 MB, free: 95.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009162/0.4017, allocations: 3.326 MB / 451.8 MB, free: 94.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002919/0.4019, allocations: 382 kB / 452.2 MB, free: 94.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001292/0.4032, allocations: 422.1 kB / 452.6 MB, free: 94.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01954/0.4228, allocations: 9.145 MB / 461.7 MB, free: 89.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001609/0.4229, allocations: 62.64 kB / 461.8 MB, free: 89.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005824/0.4235, allocations: 198.8 kB / 462 MB, free: 89.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003253/0.4268, allocations: 2.407 MB / 464.4 MB, free: 88.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.017/0.4438, allocations: 5.178 MB / 469.5 MB, free: 87.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06867/0.5124, allocations: 63.55 MB / 0.5206 GB, free: 32.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01069/0.5231, allocations: 2.764 MB / 0.5233 GB, free: 30.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001959/0.5251, allocations: 0.9995 MB / 0.5243 GB, free: 29.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01559/0.5407, allocations: 7.452 MB / 0.5316 GB, free: 22.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.5407, allocations: 70.58 kB / 0.5316 GB, free: 22.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=197): time 4.758e-06/0.5407, allocations: 0 / 0.5316 GB, free: 22.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=248): time 0.1236/0.6644, allocations: 31.69 MB / 0.5626 GB, free: 6.723 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001974/0.6646, allocations: 235.6 kB / 0.5628 GB, free: 6.445 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009643/0.6742, allocations: 5.287 MB / 0.568 GB, free: 1.133 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007143/0.6749, allocations: 65.69 kB / 0.568 GB, free: 1.062 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004626/0.6795, allocations: 4.422 MB / 0.5723 GB, free: 12.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002174/0.6817, allocations: 1.071 MB / 0.5734 GB, free: 11.52 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004261/0.686, allocations: 1.869 MB / 0.5752 GB, free: 9.637 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002889/0.6863, allocations: 480.8 kB / 0.5757 GB, free: 9.164 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003869/0.6901, allocations: 1.279 MB / 0.5769 GB, free: 7.883 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0117/0.7018, allocations: 7.85 MB / 0.5846 GB, free: 13.15 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01695/0.7188, allocations: 10.15 MB / 0.5945 GB, free: 148 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002069/0.719, allocations: 40 kB / 0.5945 GB, free: 108 kB / 458.7 MB Notification: Performance of matching and sorting (n=963) (initialization): time 0.02972/0.7487, allocations: 9.404 MB / 0.6037 GB, free: 6.688 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001541/0.7489, allocations: 68 kB / 0.6038 GB, free: 6.621 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002342/0.7491, allocations: 148 kB / 0.6039 GB, free: 6.477 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01447/0.7636, allocations: 2.913 MB / 0.6068 GB, free: 3.551 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006279/0.7698, allocations: 1.622 MB / 0.6083 GB, free: 1.926 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1946/0.9644, allocations: 7.514 MB / 0.6157 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006244/0.9707, allocations: 0.4923 MB / 0.6162 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001203/0.9719, allocations: 430.2 kB / 0.6166 GB, free: 129 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.002767/0.9746, allocations: 0.8459 MB / 0.6174 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00115/0.9758, allocations: 480.2 kB / 0.6179 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01553/0.9913, allocations: 4.897 MB / 0.6226 GB, free: 128.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.934e-05/0.9914, allocations: 30.38 kB / 0.6227 GB, free: 128.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.198e-05/0.9914, allocations: 12.88 kB / 0.6227 GB, free: 128.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.356e-05/0.9914, allocations: 17.47 kB / 0.6227 GB, free: 128.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03388/1.025, allocations: 12.9 MB / 0.6353 GB, free: 126.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.626e-05/1.025, allocations: 0 / 0.6353 GB, free: 126.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002327/1.028, allocations: 397.2 kB / 0.6357 GB, free: 126.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01259/1.04, allocations: 2.976 MB / 0.6386 GB, free: 126.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006469/1.041, allocations: 45.17 kB / 0.6386 GB, free: 126.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01576/1.057, allocations: 6.292 MB / 0.6448 GB, free: 122.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.057, allocations: 5.844 kB / 0.6448 GB, free: 122.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02125/1.078, allocations: 6.843 MB / 0.6515 GB, free: 121.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00172/1.08, allocations: 388.5 kB / 0.6518 GB, free: 121.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001199/1.081, allocations: 36.75 kB / 0.6519 GB, free: 121.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002906/1.084, allocations: 256.1 kB / 0.6521 GB, free: 121.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007831/1.085, allocations: 151 kB / 0.6523 GB, free: 121.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002281/1.085, allocations: 70.66 kB / 0.6523 GB, free: 121.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004049/1.089, allocations: 2.134 MB / 0.6544 GB, free: 120.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.61e-07/1.089, allocations: 0 / 0.6544 GB, free: 120.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007398/1.096, allocations: 1.575 MB / 0.6559 GB, free: 120.3 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.0007677/1.097, allocations: 235.9 kB / 0.6562 GB, free: 120.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009605/1.107, allocations: 5.074 MB / 0.6611 GB, free: 118.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/1.107, allocations: 0 / 0.6611 GB, free: 118.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003283/1.11, allocations: 1.736 MB / 0.6628 GB, free: 117.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003982/1.114, allocations: 492.5 kB / 0.6633 GB, free: 117.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01725/1.131, allocations: 10.37 MB / 0.6734 GB, free: 109.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003447/1.135, allocations: 3.255 MB / 0.6766 GB, free: 106.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003919/1.139, allocations: 1.809 MB / 0.6784 GB, free: 104.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008496/1.139, allocations: 268.5 kB / 0.6786 GB, free: 104.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.903e-06/1.139, allocations: 0 / 0.6786 GB, free: 104.4 MB / 474.7 MB Notification: Performance of Templates: time 0.08453/1.224, allocations: 59.91 MB / 0.7371 GB, free: 44.89 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.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: 8.26037907099817]