Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 91.22 kB / 20.43 MB, free: 4.141 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 165 kB / 23.8 MB, free: 0.7695 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9561/0.9561, allocations: 158.6 MB / 185.7 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1355/0.1355, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.191e-05/3.43e-05, allocations: 6.25 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.0125/0.01254, allocations: 12.88 MB / 360.6 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008125/0.02066, allocations: 4.768 MB / 365.3 MB, free: 7.711 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/0.02244, allocations: 95.56 kB / 365.4 MB, free: 7.617 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004553/0.027, allocations: 4.279 MB / 369.7 MB, free: 3.324 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005309/0.0323, allocations: 2.368 MB / 372.1 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002313/0.03462, allocations: 1.314 MB / 373.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007987/0.0426, allocations: 6.244 MB / 379.6 MB, free: 9.375 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005858/0.04846, allocations: 4.693 MB / 384.3 MB, free: 4.609 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005179/0.05364, allocations: 3.36 MB / 387.7 MB, free: 1.242 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004511/0.05815, allocations: 3.317 MB / 391 MB, free: 13.92 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00146/0.05961, allocations: 0.5117 MB / 391.5 MB, free: 13.41 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002739/0.06235, allocations: 1.611 MB / 393.1 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002585/0.06494, allocations: 2.891 MB / 396 MB, free: 8.895 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002972/0.06791, allocations: 1.815 MB / 397.8 MB, free: 7.074 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00979/0.0777, allocations: 6.404 MB / 404.2 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.07771, allocations: 3.984 kB / 404.2 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.07771, allocations: 3.938 kB / 404.2 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002371/0.07795, allocations: 0 / 404.2 MB, free: 0.6406 MB / 330.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.01286/0.0908, allocations: 7.088 MB / 411.3 MB, free: 9.469 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.09085, allocations: 12.03 kB / 411.3 MB, free: 9.457 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01207/0.1029, allocations: 3.348 MB / 414.7 MB, free: 6.102 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006767/0.1097, allocations: 3.352 MB / 418 MB, free: 2.695 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002816/0.11, allocations: 376.1 kB / 418.4 MB, free: 2.312 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001186/0.1112, allocations: 424.3 kB / 418.8 MB, free: 1.898 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01412/0.1253, allocations: 8.496 MB / 427.3 MB, free: 8.227 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001176/0.1254, allocations: 55.52 kB / 427.4 MB, free: 8.172 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004416/0.1258, allocations: 203.8 kB / 427.6 MB, free: 7.973 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00216/0.128, allocations: 2.402 MB / 430 MB, free: 5.562 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/0.1386, allocations: 4.771 MB / 434.7 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2132/0.3518, allocations: 54.45 MB / 489.2 MB, free: 52.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009663/0.3614, allocations: 2.67 MB / 491.9 MB, free: 52.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002248/0.3637, allocations: 0.979 MB / 492.8 MB, free: 51.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01076/0.3744, allocations: 7.316 MB / 0.4884 GB, free: 49.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/0.3745, allocations: 61.92 kB / 0.4885 GB, free: 49.67 MB / 378.7 MB Notification: Performance of pre-optimization done (n=197): time 6.202e-06/0.3745, allocations: 0 / 0.4885 GB, free: 49.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=248): time 0.06372/0.4382, allocations: 31.4 MB / 0.5192 GB, free: 22.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.4383, allocations: 231.6 kB / 0.5194 GB, free: 22.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004501/0.4428, allocations: 4.111 MB / 0.5234 GB, free: 18.35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006292/0.4434, allocations: 65.7 kB / 0.5235 GB, free: 18.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001685/0.4451, allocations: 4.171 MB / 0.5275 GB, free: 14.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001036/0.4461, allocations: 1.002 MB / 0.5285 GB, free: 13.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001448/0.4476, allocations: 1.575 MB / 0.5301 GB, free: 11.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.813e-05/0.4476, allocations: 484.7 kB / 0.5305 GB, free: 11.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001797/0.4494, allocations: 1.177 MB / 0.5317 GB, free: 10.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003715/0.4531, allocations: 7.504 MB / 0.539 GB, free: 15.84 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01061/0.4637, allocations: 9.503 MB / 0.5483 GB, free: 3.805 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002704/0.464, allocations: 40 kB / 0.5483 GB, free: 3.766 MB / 394.7 MB Notification: Performance of matching and sorting (n=963) (initialization): time 0.02026/0.4843, allocations: 9.158 MB / 0.5573 GB, free: 10.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.4844, allocations: 74.34 kB / 0.5573 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001479/0.4845, allocations: 148 kB / 0.5575 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007409/0.4919, allocations: 2.859 MB / 0.5603 GB, free: 7.512 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004135/0.4961, allocations: 1.634 MB / 0.5619 GB, free: 5.875 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01161/0.5077, allocations: 6.972 MB / 0.5687 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00475/0.5124, allocations: 0.4994 MB / 0.5691 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008939/0.5133, allocations: 432 kB / 0.5696 GB, free: 13.88 MB / 426.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.001853/0.5152, allocations: 0.7428 MB / 0.5703 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008535/0.516, allocations: 477.3 kB / 0.5707 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008762/0.5248, allocations: 4.782 MB / 0.5754 GB, free: 7.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-05/0.5248, allocations: 28 kB / 0.5754 GB, free: 7.812 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/0.5249, allocations: 12 kB / 0.5754 GB, free: 7.801 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.861e-05/0.5249, allocations: 15.95 kB / 0.5755 GB, free: 7.785 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02046/0.5453, allocations: 11.4 MB / 0.5866 GB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.02e-05/0.5454, allocations: 7.938 kB / 0.5866 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001344/0.5467, allocations: 395.4 kB / 0.587 GB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007395/0.5541, allocations: 2.935 MB / 0.5898 GB, free: 9.07 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004295/0.5545, allocations: 43.98 kB / 0.5899 GB, free: 9.027 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00911/0.5637, allocations: 5.834 MB / 0.5956 GB, free: 3.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5637, allocations: 3.719 kB / 0.5956 GB, free: 3.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01145/0.5751, allocations: 6.553 MB / 0.602 GB, free: 12.49 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001986/0.5771, allocations: 0.8405 MB / 0.6028 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004455/0.5775, allocations: 39.98 kB / 0.6028 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/0.5789, allocations: 261.1 kB / 0.6031 GB, free: 11.35 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004873/0.5794, allocations: 154.2 kB / 0.6032 GB, free: 11.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/0.5795, allocations: 63.98 kB / 0.6033 GB, free: 11.14 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002642/0.5822, allocations: 1.801 MB / 0.6051 GB, free: 9.332 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5822, allocations: 0 / 0.6051 GB, free: 9.332 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005504/0.5877, allocations: 1.599 MB / 0.6066 GB, free: 7.734 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.0006575/0.5883, allocations: 244.1 kB / 0.6069 GB, free: 7.492 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007056/0.5954, allocations: 4.656 MB / 0.6114 GB, free: 2.84 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.5954, allocations: 0.875 kB / 0.6114 GB, free: 2.84 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002172/0.5976, allocations: 1.6 MB / 0.613 GB, free: 1.215 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002354/0.5999, allocations: 0.4918 MB / 0.6134 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.177/0.7769, allocations: 10.25 MB / 0.6235 GB, free: 156.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001847/0.7788, allocations: 1.654 MB / 0.6251 GB, free: 156.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002962/0.7817, allocations: 1.806 MB / 0.6268 GB, free: 156.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006472/0.7824, allocations: 274.6 kB / 0.6271 GB, free: 156.7 MB / 458.7 MB Notification: Performance of SimCode: time 2.494e-06/0.7824, allocations: 0 / 0.6271 GB, free: 156.7 MB / 458.7 MB Notification: Performance of Templates: time 0.06664/0.849, allocations: 60.65 MB / 0.6863 GB, free: 104.7 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.070183482952416]