Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.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.00153/0.00153, allocations: 88.28 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.001582/0.001582, allocations: 156.9 kB / 24.26 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.556/1.556, allocations: 177 MB / 204.5 MB, free: 5.613 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.3572/0.3572, allocations: 34.25 MB / 295.2 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 180] 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.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.JointUPS2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.971e-05/3.135e-05, allocations: 6.25 kB / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01455/0.01458, allocations: 10.46 MB / 387.7 MB, free: 8.375 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009903/0.02448, allocations: 4.192 MB / 391.9 MB, free: 4.172 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001968/0.02645, allocations: 79.62 kB / 391.9 MB, free: 4.094 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006488/0.03294, allocations: 2.861 MB / 394.8 MB, free: 1.223 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007772/0.04071, allocations: 2.138 MB / 396.9 MB, free: 15.07 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0028/0.04351, allocations: 1.13 MB / 398.1 MB, free: 13.94 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01063/0.05414, allocations: 6.099 MB / 404.2 MB, free: 7.832 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006811/0.06095, allocations: 3.494 MB / 407.7 MB, free: 4.289 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007127/0.06808, allocations: 2.693 MB / 410.4 MB, free: 1.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005482/0.07356, allocations: 2.747 MB / 413.1 MB, free: 14.84 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001252/0.07482, allocations: 376 kB / 413.5 MB, free: 14.47 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003334/0.07815, allocations: 1.365 MB / 414.8 MB, free: 13.1 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003328/0.08148, allocations: 2.337 MB / 417.2 MB, free: 10.76 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00286/0.08434, allocations: 1.445 MB / 418.6 MB, free: 9.309 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01215/0.09649, allocations: 8.185 MB / 426.8 MB, free: 1.098 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.09649, allocations: 4 kB / 426.8 MB, free: 1.094 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.899e-06/0.0965, allocations: 3.984 kB / 426.8 MB, free: 1.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002803/0.09678, allocations: 0 / 426.8 MB, free: 1.09 MB / 394.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.0168/0.1136, allocations: 5.876 MB / 432.7 MB, free: 11.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.1136, allocations: 8.031 kB / 432.7 MB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01887/0.1325, allocations: 3.228 MB / 435.9 MB, free: 7.906 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008644/0.1411, allocations: 3.095 MB / 439 MB, free: 4.758 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000286/0.1414, allocations: 250.8 kB / 439.3 MB, free: 4.512 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001219/0.1426, allocations: 356.3 kB / 439.6 MB, free: 4.164 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1757/0.3184, allocations: 12.54 MB / 452.2 MB, free: 92.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001186/0.3185, allocations: 51.28 kB / 452.2 MB, free: 92.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004108/0.3189, allocations: 163.9 kB / 452.4 MB, free: 92.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003145/0.322, allocations: 2.38 MB / 454.7 MB, free: 92.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01788/0.3399, allocations: 10.88 MB / 465.6 MB, free: 88.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04876/0.3887, allocations: 45.83 MB / 0.4995 GB, free: 57.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0148/0.4035, allocations: 5.536 MB / 0.5049 GB, free: 52.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0035/0.407, allocations: 3.054 MB / 0.5079 GB, free: 50.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01658/0.4236, allocations: 12.12 MB / 0.5197 GB, free: 38.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.4236, allocations: 51.88 kB / 0.5197 GB, free: 38.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=206): time 6.162e-06/0.4236, allocations: 7.938 kB / 0.5198 GB, free: 38.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=267): time 0.1281/0.5517, allocations: 47.23 MB / 0.5659 GB, free: 7.355 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00021/0.5519, allocations: 205.9 kB / 0.5661 GB, free: 7.109 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007315/0.5592, allocations: 4.196 MB / 0.5702 GB, free: 2.973 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000676/0.5599, allocations: 65.7 kB / 0.5702 GB, free: 2.902 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003446/0.5633, allocations: 3.502 MB / 0.5737 GB, free: 15.4 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001797/0.5651, allocations: 1.015 MB / 0.5746 GB, free: 14.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00269/0.5678, allocations: 1.409 MB / 0.576 GB, free: 12.96 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.568, allocations: 309.1 kB / 0.5763 GB, free: 12.65 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00632/0.5743, allocations: 3.5 MB / 0.5797 GB, free: 9.148 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0119/0.5862, allocations: 7.462 MB / 0.587 GB, free: 15.77 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0206/0.6068, allocations: 11.67 MB / 0.5984 GB, free: 2.199 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002229/0.607, allocations: 40 kB / 0.5985 GB, free: 2.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.2437/0.8507, allocations: 14.86 MB / 0.613 GB, free: 128 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.177e-05/0.8508, allocations: 64.38 kB / 0.613 GB, free: 128 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001529/0.851, allocations: 139 kB / 0.6132 GB, free: 128 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01469/0.8657, allocations: 5.297 MB / 0.6183 GB, free: 127.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005773/0.8714, allocations: 1.578 MB / 0.6199 GB, free: 126.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03045/0.9019, allocations: 20.64 MB / 0.64 GB, free: 118.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006713/0.9086, allocations: 0.5406 MB / 0.6406 GB, free: 118.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001162/0.9098, allocations: 409 kB / 0.641 GB, free: 118.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 618 * 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 (835): * Single equations (assignments): 831 * 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 {(5,53,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003785/0.9135, allocations: 2.341 MB / 0.6432 GB, free: 117.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00109/0.9146, allocations: 472.3 kB / 0.6437 GB, free: 117.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01774/0.9324, allocations: 9.289 MB / 0.6528 GB, free: 113.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-05/0.9324, allocations: 30.97 kB / 0.6528 GB, free: 113.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.93e-05/0.9324, allocations: 8 kB / 0.6528 GB, free: 113.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-05/0.9325, allocations: 15.48 kB / 0.6528 GB, free: 113.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0294/0.9619, allocations: 15.89 MB / 0.6683 GB, free: 98.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-05/0.9619, allocations: 0 / 0.6683 GB, free: 98.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002068/0.964, allocations: 383.5 kB / 0.6687 GB, free: 97.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01316/0.9772, allocations: 5.061 MB / 0.6736 GB, free: 92.81 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005296/0.9777, allocations: 40 kB / 0.6737 GB, free: 92.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02262/1, allocations: 18.76 MB / 0.692 GB, free: 74.03 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1, allocations: 8 kB / 0.692 GB, free: 74.02 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02783/1.028, allocations: 13.85 MB / 0.7055 GB, free: 60.27 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001656/1.03, allocations: 380.3 kB / 0.7059 GB, free: 59.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001154/1.031, allocations: 43.98 kB / 0.7059 GB, free: 59.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00394/1.035, allocations: 287.5 kB / 0.7062 GB, free: 59.57 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001008/1.036, allocations: 166.1 kB / 0.7064 GB, free: 59.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003466/1.036, allocations: 64 kB / 0.7064 GB, free: 59.35 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00484/1.041, allocations: 2.466 MB / 0.7088 GB, free: 56.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.041, allocations: 0 / 0.7088 GB, free: 56.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01135/1.052, allocations: 1.53 MB / 0.7103 GB, free: 55.38 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (196): * Single equations (assignments): 192 * 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 {(5,47,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009454/1.053, allocations: 198.7 kB / 0.7105 GB, free: 55.18 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01836/1.072, allocations: 8.336 MB / 0.7187 GB, free: 46.86 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.072, allocations: 0 / 0.7187 GB, free: 46.86 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007829/1.08, allocations: 3.339 MB / 0.7219 GB, free: 43.51 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005763/1.085, allocations: 467 kB / 0.7224 GB, free: 43.08 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01743/1.103, allocations: 12.28 MB / 0.7344 GB, free: 30.76 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003039/1.106, allocations: 3.141 MB / 0.7374 GB, free: 27.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004275/1.11, allocations: 2.13 MB / 0.7395 GB, free: 25.46 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/1.111, allocations: 272.4 kB / 0.7398 GB, free: 25.2 MB / 458.7 MB Notification: Performance of SimCode: time 2.054e-06/1.111, allocations: 0 / 0.7398 GB, free: 25.2 MB / 458.7 MB Notification: Performance of Templates: time 0.2823/1.393, allocations: 61.31 MB / 0.7996 GB, free: 131.8 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.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.241186476079747]