Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001388/0.001388, allocations: 83.69 kB / 21.18 MB, free: 3.395 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.001764/0.001764, allocations: 165 kB / 24.56 MB, free: 24 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.011/1.011, allocations: 177.1 MB / 205 MB, free: 4.77 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2926/0.2926, allocations: 34.27 MB / 295.7 MB, free: 0.6289 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.873e-05/3.103e-05, allocations: 5.547 kB / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01273/0.01276, allocations: 12.81 MB / 390.9 MB, free: 5.777 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008006/0.02077, allocations: 4.771 MB / 395.6 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00182/0.02259, allocations: 99.5 kB / 395.7 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004353/0.02694, allocations: 4.276 MB / 400 MB, free: 12.61 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004768/0.03171, allocations: 2.325 MB / 402.3 MB, free: 10.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001935/0.03365, allocations: 1.31 MB / 403.6 MB, free: 8.957 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006756/0.0404, allocations: 6.546 MB / 410.2 MB, free: 2.402 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005439/0.04584, allocations: 4.678 MB / 414.9 MB, free: 13.65 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005978/0.05182, allocations: 3.922 MB / 418.8 MB, free: 9.723 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004134/0.05595, allocations: 3.25 MB / 422 MB, free: 6.465 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001438/0.05739, allocations: 0.5039 MB / 422.5 MB, free: 5.961 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002836/0.06023, allocations: 1.588 MB / 424.1 MB, free: 4.371 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002204/0.06243, allocations: 2.833 MB / 427 MB, free: 1.531 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002565/0.065, allocations: 1.78 MB / 428.7 MB, free: 15.74 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007304/0.0723, allocations: 6.322 MB / 435.1 MB, free: 9.402 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.0723, allocations: 0 / 435.1 MB, free: 9.402 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.0723, allocations: 0 / 435.1 MB, free: 9.402 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002628/0.07257, allocations: 0 / 435.1 MB, free: 9.402 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.009489/0.08206, allocations: 7.068 MB / 442.1 MB, free: 2.254 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.08211, allocations: 8.031 kB / 442.1 MB, free: 2.246 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1768/0.2589, allocations: 3.272 MB / 445.4 MB, free: 91.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005647/0.2646, allocations: 3.087 MB / 448.5 MB, free: 91.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002867/0.2648, allocations: 376.2 kB / 448.9 MB, free: 91.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007413/0.2656, allocations: 427.3 kB / 449.3 MB, free: 91.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01267/0.2783, allocations: 8.513 MB / 457.8 MB, free: 87.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001604/0.2784, allocations: 54.03 kB / 457.8 MB, free: 87.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003789/0.2788, allocations: 199.2 kB / 458 MB, free: 87.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001847/0.2806, allocations: 2.358 MB / 460.4 MB, free: 87.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01142/0.2921, allocations: 4.675 MB / 465.1 MB, free: 87.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04337/0.3354, allocations: 54.77 MB / 0.5077 GB, free: 43.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007034/0.3425, allocations: 2.511 MB / 0.5101 GB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001578/0.344, allocations: 0.8092 MB / 0.5109 GB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009276/0.3533, allocations: 6.209 MB / 0.517 GB, free: 38.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/0.3534, allocations: 58.33 kB / 0.517 GB, free: 38.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=178): time 4.98e-06/0.3534, allocations: 4 kB / 0.517 GB, free: 38.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=226): time 0.03483/0.3882, allocations: 17.93 MB / 0.5345 GB, free: 22.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.663e-05/0.3883, allocations: 231.6 kB / 0.5347 GB, free: 22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004009/0.3923, allocations: 4.186 MB / 0.5388 GB, free: 17.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001593/0.3925, allocations: 57.7 kB / 0.5389 GB, free: 17.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001561/0.394, allocations: 4.26 MB / 0.543 GB, free: 13.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005007/0.3945, allocations: 0.9217 MB / 0.5439 GB, free: 12.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001092/0.3956, allocations: 1.571 MB / 0.5455 GB, free: 10.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.068e-05/0.3956, allocations: 484.7 kB / 0.5459 GB, free: 10.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.3968, allocations: 0.8222 MB / 0.5467 GB, free: 9.695 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002965/0.3998, allocations: 7.381 MB / 0.554 GB, free: 15.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006969/0.4068, allocations: 8.994 MB / 0.5627 GB, free: 3.398 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.429e-05/0.4068, allocations: 44 kB / 0.5628 GB, free: 3.355 MB / 426.7 MB Notification: Performance of matching and sorting (n=960) (initialization): time 0.009215/0.4161, allocations: 6.765 MB / 0.5694 GB, free: 12.58 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.585e-05/0.4161, allocations: 72 kB / 0.5695 GB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001457/0.4163, allocations: 156 kB / 0.5696 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001718/0.418, allocations: 0.8855 MB / 0.5705 GB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002762/0.4207, allocations: 1.673 MB / 0.5721 GB, free: 9.789 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004507/0.4253, allocations: 4.162 MB / 0.5762 GB, free: 5.512 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003153/0.4284, allocations: 459.4 kB / 0.5766 GB, free: 5.062 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004145/0.4288, allocations: 439.1 kB / 0.577 GB, free: 4.637 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 707 * 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 (905): * Single equations (assignments): 901 * 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 {(1,31,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001532/0.4304, allocations: 0.7544 MB / 0.5778 GB, free: 3.867 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006134/0.431, allocations: 469.3 kB / 0.5782 GB, free: 3.406 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002927/0.4339, allocations: 2 MB / 0.5802 GB, free: 1.383 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.221e-05/0.4339, allocations: 24 kB / 0.5802 GB, free: 1.359 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.4339, allocations: 8 kB / 0.5802 GB, free: 1.352 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.4339, allocations: 11.91 kB / 0.5802 GB, free: 1.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/0.4447, allocations: 7.316 MB / 0.5873 GB, free: 9.898 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.4448, allocations: 4 kB / 0.5874 GB, free: 9.895 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008866/0.4456, allocations: 388.1 kB / 0.5877 GB, free: 9.516 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001513/0.4472, allocations: 0.6666 MB / 0.5884 GB, free: 8.844 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002921/0.4475, allocations: 43.98 kB / 0.5884 GB, free: 8.801 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003294/0.4507, allocations: 3.17 MB / 0.5915 GB, free: 5.512 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.4507, allocations: 7.938 kB / 0.5915 GB, free: 5.504 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004471/0.4552, allocations: 3.462 MB / 0.5949 GB, free: 1.918 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007628/0.456, allocations: 385.1 kB / 0.5953 GB, free: 1.539 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002912/0.4563, allocations: 47.92 kB / 0.5953 GB, free: 1.492 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.4573, allocations: 151.8 kB / 0.5955 GB, free: 1.344 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002586/0.4576, allocations: 156.9 kB / 0.5956 GB, free: 1.188 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.41e-05/0.4576, allocations: 61.48 kB / 0.5957 GB, free: 1.129 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002321/0.46, allocations: 1.811 MB / 0.5974 GB, free: 15.31 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.46, allocations: 3.828 kB / 0.5974 GB, free: 15.31 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004035/0.464, allocations: 1.324 MB / 0.5987 GB, free: 13.99 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (179): * Single equations (assignments): 175 * 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 {(1,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004792/0.4645, allocations: 239.5 kB / 0.599 GB, free: 13.75 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005139/0.4696, allocations: 3.682 MB / 0.6026 GB, free: 10.08 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.4696, allocations: 8.062 kB / 0.6026 GB, free: 10.07 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.4707, allocations: 0.9828 MB / 0.6035 GB, free: 9.07 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/0.4724, allocations: 0.5033 MB / 0.604 GB, free: 8.582 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1606/0.633, allocations: 9.742 MB / 0.6135 GB, free: 134.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001559/0.6346, allocations: 1.629 MB / 0.6151 GB, free: 134.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002851/0.6374, allocations: 1.845 MB / 0.6169 GB, free: 134.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000543/0.638, allocations: 276.1 kB / 0.6172 GB, free: 134.4 MB / 474.7 MB Notification: Performance of SimCode: time 2.976e-06/0.638, allocations: 0 / 0.6172 GB, free: 134.4 MB / 474.7 MB Notification: Performance of Templates: time 0.05923/0.6972, allocations: 39.3 MB / 0.6556 GB, free: 125.1 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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: 4.828635944053531]