Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.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.001384/0.001384, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001612/0.001612, allocations: 169 kB / 24.24 MB, free: 312 kB / 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.9251/0.9251, allocations: 158.6 MB / 186 MB, free: 2.934 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.1247/0.1247, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.JointUPS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rRod1_ia.[0-9,]+.|rRod2_ib.[0-9,]+.|Fixed1.frame_b.r_0.[0-9,]+.|Fixed1.frame_b.f.[0-9,]+.|Fixed1.frame_b.t.[0-9,]+.|jointUPS.frame_b.r_0.[0-9,]+.|jointUPS.frame_b.f.[0-9,]+.|jointUPS.frame_b.t.[0-9,]+.|jointUPS.frame_ia.r_0.[0-9,]+.|jointUPS.frame_ia.f.[0-9,]+.|jointUPS.frame_ia.t.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS") translateModel(ModelicaTest.MultiBody.Joints.JointUPS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rRod1_ia.[0-9,]+.|rRod2_ib.[0-9,]+.|Fixed1.frame_b.r_0.[0-9,]+.|Fixed1.frame_b.f.[0-9,]+.|Fixed1.frame_b.t.[0-9,]+.|jointUPS.frame_b.r_0.[0-9,]+.|jointUPS.frame_b.f.[0-9,]+.|jointUPS.frame_b.t.[0-9,]+.|jointUPS.frame_ia.r_0.[0-9,]+.|jointUPS.frame_ia.f.[0-9,]+.|jointUPS.frame_ia.t.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 3.938 kB / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.703e-05, allocations: 2.312 kB / 347.7 MB, free: 9.762 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.008029/0.008046, allocations: 8.834 MB / 356.5 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004428/0.01247, allocations: 2.651 MB / 359.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005827/0.01306, allocations: 47.88 kB / 359.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002209/0.01527, allocations: 1.394 MB / 360.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001159/0.01642, allocations: 0.5981 MB / 361.2 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008143/0.01724, allocations: 462.8 kB / 361.7 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001436/0.01867, allocations: 1.287 MB / 362.9 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001145/0.01982, allocations: 1.137 MB / 364.1 MB, free: 9.281 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009266/0.02075, allocations: 0.8845 MB / 365 MB, free: 8.395 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0011/0.02185, allocations: 0.8103 MB / 365.8 MB, free: 7.582 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002158/0.02206, allocations: 128 kB / 365.9 MB, free: 7.457 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.02314, allocations: 0.5966 MB / 366.5 MB, free: 6.859 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007503/0.02389, allocations: 0.8609 MB / 367.4 MB, free: 5.996 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005668/0.02446, allocations: 0.5216 MB / 367.9 MB, free: 5.473 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002096/0.02655, allocations: 1.938 MB / 369.8 MB, free: 3.527 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.02656, allocations: 0 / 369.8 MB, free: 3.527 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.02656, allocations: 0 / 369.8 MB, free: 3.527 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.13e-05/0.02659, allocations: 0 / 369.8 MB, free: 3.527 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.003898/0.03049, allocations: 2.52 MB / 372.3 MB, free: 0.957 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.03052, allocations: 8.031 kB / 372.3 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/0.03182, allocations: 487 kB / 372.8 MB, free: 484 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.03332, allocations: 0.7686 MB / 373.6 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.718e-05/0.03341, allocations: 115.1 kB / 373.7 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002576/0.03367, allocations: 144.5 kB / 373.8 MB, free: 15.42 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005614/0.03928, allocations: 3.086 MB / 376.9 MB, free: 11.97 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.956e-05/0.03932, allocations: 11.88 kB / 376.9 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/0.03947, allocations: 71.92 kB / 377 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001428/0.0409, allocations: 0.9482 MB / 378 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005049/0.04595, allocations: 1.812 MB / 379.8 MB, free: 9.121 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01538/0.06133, allocations: 16.87 MB / 396.6 MB, free: 7.719 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003525/0.06486, allocations: 0.9242 MB / 397.6 MB, free: 6.754 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004034/0.06526, allocations: 296.5 kB / 397.9 MB, free: 6.453 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002721/0.06798, allocations: 2.667 MB / 400.5 MB, free: 3.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.06802, allocations: 45.72 kB / 400.6 MB, free: 3.695 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 2.594e-06/0.06802, allocations: 0 / 400.6 MB, free: 3.695 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.006386/0.07441, allocations: 1.565 MB / 402.1 MB, free: 2.125 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.07447, allocations: 114.8 kB / 402.2 MB, free: 1.988 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/0.07625, allocations: 1.379 MB / 403.6 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.07629, allocations: 33.7 kB / 403.7 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001034/0.07732, allocations: 1.521 MB / 405.2 MB, free: 15.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.0775, allocations: 202.7 kB / 405.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006155/0.07812, allocations: 0.4904 MB / 405.9 MB, free: 14.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.0783, allocations: 0.5043 MB / 406.4 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005812/0.07888, allocations: 232.5 kB / 406.6 MB, free: 13.58 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001913/0.0808, allocations: 2.454 MB / 409 MB, free: 10.08 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002931/0.08373, allocations: 2.949 MB / 412 MB, free: 6.086 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.079e-05/0.08376, allocations: 16 kB / 412 MB, free: 6.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003549/0.08731, allocations: 1.978 MB / 414 MB, free: 4.086 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.028e-05/0.08736, allocations: 31.94 kB / 414 MB, free: 4.055 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.056e-05/0.08743, allocations: 52 kB / 414.1 MB, free: 4.004 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.398e-05/0.08751, allocations: 76.06 kB / 414.1 MB, free: 3.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/0.08913, allocations: 0.5381 MB / 414.7 MB, free: 3.391 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.663e-05/0.08923, allocations: 111.5 kB / 414.8 MB, free: 3.281 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.09074, allocations: 325.7 kB / 415.1 MB, free: 2.961 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/0.09092, allocations: 144 kB / 415.3 MB, free: 2.82 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 247 * Number of states: 0 () * Number of discrete variables: 33 (rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[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],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (295): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006098/0.09153, allocations: 379.3 kB / 415.6 MB, free: 2.438 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002335/0.09176, allocations: 135.2 kB / 415.8 MB, free: 2.305 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/0.09196, allocations: 127.7 kB / 415.9 MB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.09197, allocations: 7.938 kB / 415.9 MB, free: 2.168 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.09197, allocations: 0 / 415.9 MB, free: 2.168 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.09198, allocations: 11.92 kB / 415.9 MB, free: 2.156 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003695/0.09568, allocations: 2.496 MB / 418.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.09569, allocations: 8 kB / 418.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003334/0.09602, allocations: 107.8 kB / 418.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-05/0.09604, allocations: 16 kB / 418.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.628e-05/0.09608, allocations: 20 kB / 418.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.709e-05/0.09609, allocations: 20.56 kB / 418.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.321e-05/0.09611, allocations: 15.94 kB / 418.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009478/0.09706, allocations: 0.9476 MB / 419.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.09724, allocations: 131 kB / 419.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.09736, allocations: 23.98 kB / 419.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004132/0.09777, allocations: 28 kB / 419.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.964e-05/0.09786, allocations: 71.61 kB / 419.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-05/0.0979, allocations: 28 kB / 419.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008495/0.09875, allocations: 0.6374 MB / 420.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.09875, allocations: 0 / 420.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001332/0.1001, allocations: 0.5139 MB / 421 MB, free: 12.66 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 0 () * 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 (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000174/0.1003, allocations: 123.2 kB / 421.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.1014, allocations: 0.9903 MB / 422.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.1014, allocations: 4 kB / 422.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.1015, allocations: 175.7 kB / 422.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005857/0.1021, allocations: 136.8 kB / 422.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003339/0.1055, allocations: 3.329 MB / 425.7 MB, free: 7.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.1059, allocations: 0.5209 MB / 426.2 MB, free: 7.113 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007259/0.1066, allocations: 0.5268 MB / 426.7 MB, free: 6.582 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.1067, allocations: 88.5 kB / 426.8 MB, free: 6.496 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.1067, allocations: 0 / 426.8 MB, free: 6.496 MB / 362.7 MB Notification: Performance of Templates: time 0.01563/0.1223, allocations: 8.716 MB / 435.6 MB, free: 13.89 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.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: 3.490499670850113]