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.001441/0.001441, allocations: 87.67 kB / 21.19 MB, free: 3.371 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.001201/0.001201, allocations: 160.5 kB / 24.56 MB, free: 12 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.032/1.032, allocations: 177 MB / 204.8 MB, free: 5.223 MB / 186.7 MB " [Timeout remaining time 179] 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.2771/0.2771, allocations: 34.86 MB / 296.3 MB, free: 0.5 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.793e-06/1.793e-06, allocations: 0 / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.902e-05, allocations: 4.422 kB / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.009872/0.009901, allocations: 11.57 MB / 390.3 MB, free: 6.457 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008245/0.01815, allocations: 4.305 MB / 394.7 MB, free: 2.141 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002962/0.02111, allocations: 83.62 kB / 394.7 MB, free: 2.059 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004413/0.02552, allocations: 2.951 MB / 397.7 MB, free: 15.1 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004838/0.03036, allocations: 2.154 MB / 399.8 MB, free: 12.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.0322, allocations: 1.127 MB / 401 MB, free: 11.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006802/0.039, allocations: 6.103 MB / 407.1 MB, free: 5.691 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005034/0.04403, allocations: 3.486 MB / 410.6 MB, free: 2.156 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005533/0.04957, allocations: 3.294 MB / 413.8 MB, free: 14.86 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003454/0.05302, allocations: 2.728 MB / 416.6 MB, free: 12.12 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001137/0.05416, allocations: 368 kB / 416.9 MB, free: 11.76 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002141/0.0563, allocations: 1.349 MB / 418.3 MB, free: 10.41 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002147/0.05845, allocations: 2.338 MB / 420.6 MB, free: 8.066 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002144/0.06059, allocations: 1.437 MB / 422.1 MB, free: 6.625 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006061/0.06665, allocations: 5.34 MB / 427.4 MB, free: 1.266 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.06666, allocations: 0 / 427.4 MB, free: 1.266 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.06666, allocations: 0 / 427.4 MB, free: 1.266 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002161/0.06687, allocations: 3.938 kB / 427.4 MB, free: 1.262 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.009624/0.0765, allocations: 6.254 MB / 433.7 MB, free: 10.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.07654, allocations: 12.03 kB / 433.7 MB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009041/0.08558, allocations: 3.111 MB / 436.8 MB, free: 7.809 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004807/0.09039, allocations: 2.684 MB / 439.5 MB, free: 5.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001951/0.09059, allocations: 250.8 kB / 439.7 MB, free: 4.824 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009344/0.09152, allocations: 348.3 kB / 440 MB, free: 4.484 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1656/0.2571, allocations: 7.612 MB / 447.7 MB, free: 87.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001482/0.2573, allocations: 54.94 kB / 447.7 MB, free: 87.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003182/0.2576, allocations: 169.7 kB / 447.9 MB, free: 87.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001748/0.2593, allocations: 2.258 MB / 450.1 MB, free: 87.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009646/0.269, allocations: 4.236 MB / 454.4 MB, free: 87.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03714/0.3061, allocations: 51.67 MB / 0.4942 GB, free: 46.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009317/0.3154, allocations: 3.131 MB / 0.4972 GB, free: 45.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001588/0.317, allocations: 0.8034 MB / 0.498 GB, free: 45.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01052/0.3276, allocations: 6.792 MB / 0.5047 GB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/0.3276, allocations: 54.7 kB / 0.5047 GB, free: 41.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=165): time 5.36e-06/0.3276, allocations: 1.312 kB / 0.5047 GB, free: 41.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=203): time 0.05512/0.3827, allocations: 28.67 MB / 0.5327 GB, free: 23.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.3828, allocations: 205.2 kB / 0.5329 GB, free: 23.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003629/0.3864, allocations: 3.861 MB / 0.5367 GB, free: 19.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003178/0.3867, allocations: 53.7 kB / 0.5367 GB, free: 19.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001645/0.3884, allocations: 3.808 MB / 0.5404 GB, free: 15.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008009/0.3892, allocations: 0.8455 MB / 0.5413 GB, free: 14.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001155/0.3903, allocations: 1.451 MB / 0.5427 GB, free: 13.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.105e-05/0.3904, allocations: 476.8 kB / 0.5431 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.3917, allocations: 0.8996 MB / 0.544 GB, free: 12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002678/0.3943, allocations: 7.033 MB / 0.5509 GB, free: 2.172 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006801/0.4011, allocations: 8.695 MB / 0.5594 GB, free: 6.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001721/0.4013, allocations: 40 kB / 0.5594 GB, free: 6.691 MB / 426.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.01543/0.4168, allocations: 8.202 MB / 0.5674 GB, free: 14.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.279e-05/0.4168, allocations: 71.94 kB / 0.5675 GB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001363/0.417, allocations: 144 kB / 0.5676 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00646/0.4234, allocations: 2.903 MB / 0.5705 GB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003316/0.4267, allocations: 1.532 MB / 0.572 GB, free: 9.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009456/0.4362, allocations: 6.29 MB / 0.5781 GB, free: 3.418 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003736/0.4399, allocations: 0.5025 MB / 0.5786 GB, free: 2.918 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006335/0.4406, allocations: 400 kB / 0.579 GB, free: 2.527 MB / 442.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.00156/0.4421, allocations: 0.7157 MB / 0.5797 GB, free: 1.797 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007061/0.4428, allocations: 425.5 kB / 0.5801 GB, free: 1.379 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007219/0.4501, allocations: 3.851 MB / 0.5838 GB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-05/0.4501, allocations: 23.94 kB / 0.5839 GB, free: 13.48 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.4501, allocations: 12 kB / 0.5839 GB, free: 13.47 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.714e-05/0.4501, allocations: 11.95 kB / 0.5839 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01493/0.4651, allocations: 8.936 MB / 0.5926 GB, free: 4.484 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/0.4651, allocations: 4 kB / 0.5926 GB, free: 4.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007463/0.4658, allocations: 275.6 kB / 0.5929 GB, free: 4.211 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005515/0.4713, allocations: 2.41 MB / 0.5952 GB, free: 1.793 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001819/0.4715, allocations: 31.98 kB / 0.5953 GB, free: 1.762 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007655/0.4792, allocations: 5.151 MB / 0.6003 GB, free: 12.49 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.758e-06/0.4792, allocations: 7.969 kB / 0.6003 GB, free: 12.48 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008754/0.4879, allocations: 4.877 MB / 0.6051 GB, free: 7.562 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/0.4891, allocations: 365.4 kB / 0.6054 GB, free: 7.203 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003673/0.4894, allocations: 38.91 kB / 0.6055 GB, free: 7.168 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.4905, allocations: 207.7 kB / 0.6057 GB, free: 6.965 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003874/0.4909, allocations: 129.1 kB / 0.6058 GB, free: 6.836 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.491, allocations: 56 kB / 0.6058 GB, free: 6.781 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002274/0.4933, allocations: 1.661 MB / 0.6075 GB, free: 5.141 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.4933, allocations: 0 / 0.6075 GB, free: 5.141 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004869/0.4981, allocations: 1.394 MB / 0.6088 GB, free: 3.746 MB / 474.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.0004706/0.4986, allocations: 183.5 kB / 0.609 GB, free: 3.562 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.1556/0.6542, allocations: 3.868 MB / 0.6128 GB, free: 138.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.387e-06/0.6542, allocations: 2.703 kB / 0.6128 GB, free: 138.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001903/0.6561, allocations: 1.224 MB / 0.614 GB, free: 138.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00225/0.6584, allocations: 438.8 kB / 0.6144 GB, free: 138 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.6704, allocations: 8.675 MB / 0.6229 GB, free: 134.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001469/0.6719, allocations: 1.411 MB / 0.6242 GB, free: 134.6 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002725/0.6746, allocations: 1.747 MB / 0.6259 GB, free: 134.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005975/0.6752, allocations: 250 kB / 0.6262 GB, free: 134.5 MB / 474.7 MB Notification: Performance of SimCode: time 2.715e-06/0.6752, allocations: 3.375 kB / 0.6262 GB, free: 134.5 MB / 474.7 MB Notification: Performance of Templates: time 0.06682/0.7421, allocations: 51.5 MB / 0.6765 GB, free: 113.1 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 240] 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","",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.829879736062139]