Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001771/0.002774, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009482/0.0009482, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001482/0.00243, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9151/0.9151, allocations: 173.4 MB / 186 MB, free: 7.523 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1762/1.091, allocations: 52.48 MB / 238.5 MB, free: 7.621 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1377/0.1377, allocations: 32.81 MB / 272 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02272/0.1604, allocations: 12.53 MB / 284.5 MB, free: 9.715 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 285.9 MB, free: 8.402 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.073e-05, allocations: 5.266 kB / 285.9 MB, free: 8.398 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.008538/0.008559, allocations: 11.44 MB / 297.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008606/0.01716, allocations: 4.47 MB / 301.8 MB, free: 8.418 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002011/0.01917, allocations: 83.62 kB / 301.9 MB, free: 8.336 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003167/0.02234, allocations: 2.814 MB / 304.7 MB, free: 5.512 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004068/0.02641, allocations: 2.154 MB / 306.8 MB, free: 3.348 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.02811, allocations: 1.033 MB / 307.9 MB, free: 2.312 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005784/0.03389, allocations: 5.543 MB / 313.4 MB, free: 12.76 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00414/0.03803, allocations: 3.104 MB / 316.5 MB, free: 9.59 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005048/0.04308, allocations: 3.235 MB / 319.7 MB, free: 6.352 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003603/0.04668, allocations: 2.599 MB / 322.3 MB, free: 3.746 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001202/0.04788, allocations: 368 kB / 322.7 MB, free: 3.387 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002547/0.05043, allocations: 1.396 MB / 324.1 MB, free: 1.988 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1435/0.1939, allocations: 2.107 MB / 326.2 MB, free: 11.36 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003322/0.1972, allocations: 1.181 MB / 327.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006875/0.2041, allocations: 4.974 MB / 332.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.273e-05/0.2041, allocations: 0 / 332.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.2041, allocations: 0 / 332.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000305/0.2044, allocations: 0 / 332.4 MB, free: 10.96 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.011/0.2154, allocations: 6.25 MB / 338.6 MB, free: 8.715 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.2154, allocations: 7.688 kB / 338.6 MB, free: 8.715 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003951/0.2194, allocations: 1.244 MB / 339.9 MB, free: 8.695 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00316/0.2225, allocations: 2.219 MB / 342.1 MB, free: 8.086 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.2227, allocations: 253.8 kB / 342.3 MB, free: 8.078 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004766/0.2231, allocations: 353.5 kB / 342.7 MB, free: 8.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007871/0.231, allocations: 5.936 MB / 348.6 MB, free: 5.727 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001539/0.2312, allocations: 48.41 kB / 348.6 MB, free: 5.723 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003637/0.2315, allocations: 166.6 kB / 348.8 MB, free: 5.723 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001562/0.2331, allocations: 1.963 MB / 350.8 MB, free: 5.715 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006515/0.2396, allocations: 3.08 MB / 353.9 MB, free: 4.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03257/0.2722, allocations: 36.97 MB / 390.8 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005868/0.278, allocations: 2.379 MB / 393.2 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/0.2792, allocations: 0.5413 MB / 393.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008257/0.2875, allocations: 5.497 MB / 399.2 MB, free: 8.012 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.2875, allocations: 54.75 kB / 399.3 MB, free: 7.953 MB / 362.7 MB Notification: Performance of pre-optimization done (n=165): time 4.178e-06/0.2875, allocations: 0 / 399.3 MB, free: 7.953 MB / 362.7 MB Notification: Performance of matching and sorting (n=203): time 0.04052/0.328, allocations: 15.81 MB / 415.1 MB, free: 8.383 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.3281, allocations: 153.5 kB / 415.3 MB, free: 8.203 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004843/0.3329, allocations: 3.456 MB / 418.7 MB, free: 5.402 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003552/0.3333, allocations: 53.7 kB / 418.8 MB, free: 5.344 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001507/0.3348, allocations: 3.419 MB / 422.2 MB, free: 2.113 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008675/0.3357, allocations: 0.8153 MB / 423 MB, free: 1.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001534/0.3372, allocations: 1.281 MB / 424.3 MB, free: 204 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.569e-05/0.3373, allocations: 309 kB / 424.6 MB, free: 15.9 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001686/0.339, allocations: 0.9641 MB / 425.5 MB, free: 14.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004034/0.343, allocations: 4.966 MB / 430.5 MB, free: 8.164 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00651/0.3495, allocations: 6.965 MB / 437.5 MB, free: 15.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.073e-05/0.3496, allocations: 47.06 kB / 437.5 MB, free: 15.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.009633/0.3592, allocations: 5.729 MB / 443.3 MB, free: 9.719 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.625e-05/0.3593, allocations: 71.94 kB / 443.3 MB, free: 9.648 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001584/0.3595, allocations: 154.2 kB / 443.5 MB, free: 9.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004708/0.3642, allocations: 1.763 MB / 445.2 MB, free: 7.738 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003842/0.368, allocations: 1.646 MB / 446.9 MB, free: 6.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007136/0.3751, allocations: 4.731 MB / 451.6 MB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003692/0.3788, allocations: 291.7 kB / 451.9 MB, free: 1.031 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007435/0.3796, allocations: 355.8 kB / 452.2 MB, free: 0.6875 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (825): * Single equations (assignments): 821 * 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,41,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002336/0.3819, allocations: 0.6725 MB / 452.9 MB, free: 4 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006015/0.3825, allocations: 247.7 kB / 453.2 MB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004605/0.3871, allocations: 2.344 MB / 455.5 MB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/0.3871, allocations: 20 kB / 455.5 MB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.3872, allocations: 8 kB / 455.5 MB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.3872, allocations: 7.969 kB / 455.5 MB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/0.3998, allocations: 6.557 MB / 462.1 MB, free: 7.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.91e-05/0.3998, allocations: 11.98 kB / 462.1 MB, free: 7.258 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00076/0.4006, allocations: 287.5 kB / 462.4 MB, free: 6.977 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009417/0.4015, allocations: 341.3 kB / 462.7 MB, free: 6.641 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004687/0.4062, allocations: 1.708 MB / 464.4 MB, free: 4.926 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002179/0.4064, allocations: 28 kB / 464.5 MB, free: 4.898 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005936/0.4124, allocations: 3.739 MB / 468.2 MB, free: 1.059 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/0.4124, allocations: 7.828 kB / 468.2 MB, free: 1.055 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00584/0.4182, allocations: 3.217 MB / 471.4 MB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007826/0.419, allocations: 36 kB / 471.5 MB, free: 13.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009827/0.42, allocations: 32 kB / 471.5 MB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004679/0.4205, allocations: 136.9 kB / 471.6 MB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.4206, allocations: 47.97 kB / 471.7 MB, free: 13.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001983/0.4226, allocations: 1.267 MB / 472.9 MB, free: 12.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4226, allocations: 4 kB / 472.9 MB, free: 12.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005078/0.4276, allocations: 1.422 MB / 474.4 MB, free: 10.87 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (147): * Single equations (assignments): 143 * 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,35,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000537/0.4282, allocations: 183.9 kB / 474.5 MB, free: 10.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005107/0.4333, allocations: 3.297 MB / 477.8 MB, free: 7.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0003066/0.4336, allocations: 118.8 kB / 478 MB, free: 7.441 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001391/0.435, allocations: 0.9856 MB / 478.9 MB, free: 6.445 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004392/0.4394, allocations: 3.253 MB / 482.2 MB, free: 2.773 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01671/0.4561, allocations: 8.707 MB / 490.9 MB, free: 9.969 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00166/0.4577, allocations: 1.406 MB / 492.3 MB, free: 8.535 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001667/0.4594, allocations: 0.5228 MB / 492.8 MB, free: 8.008 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001145/0.4605, allocations: 0.5831 MB / 493.4 MB, free: 7.426 MB / 458.7 MB Notification: Performance of SimCode: time 1.613e-06/0.4605, allocations: 0 / 493.4 MB, free: 7.426 MB / 458.7 MB Notification: Performance of Templates: time 0.246/0.7066, allocations: 52.96 MB / 0.5336 GB, free: 115.7 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9382961485534906]