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.001037/0.001037, allocations: 80.34 kB / 22.21 MB, free: 2.281 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.001176/0.001176, allocations: 166.2 kB / 25.61 MB, free: 8.578 MB / 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 0.9889/0.9889, allocations: 177 MB / 205.9 MB, free: 4.445 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.1492/0.1492, allocations: 34.88 MB / 297.4 MB, free: 13.33 MB / 282.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.683e-06/1.683e-06, allocations: 0 / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.541e-05/2.709e-05, allocations: 3.297 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.007753/0.007781, allocations: 11.28 MB / 391.3 MB, free: 11.41 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007244/0.01502, allocations: 4.287 MB / 395.6 MB, free: 7.113 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001723/0.01675, allocations: 79.62 kB / 395.7 MB, free: 7.035 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002978/0.01973, allocations: 2.908 MB / 398.6 MB, free: 4.117 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003888/0.02361, allocations: 2.146 MB / 400.7 MB, free: 1.961 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.02527, allocations: 1.127 MB / 401.8 MB, free: 0.832 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006907/0.03218, allocations: 6.107 MB / 407.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004326/0.03651, allocations: 3.501 MB / 411.4 MB, free: 7.152 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005413/0.04192, allocations: 3.302 MB / 414.7 MB, free: 3.844 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003497/0.04542, allocations: 2.728 MB / 417.5 MB, free: 1.109 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009618/0.04638, allocations: 368 kB / 417.8 MB, free: 0.75 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00209/0.04847, allocations: 1.346 MB / 419.2 MB, free: 15.4 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002056/0.05052, allocations: 2.337 MB / 421.5 MB, free: 13.06 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002605/0.05313, allocations: 1.429 MB / 422.9 MB, free: 11.62 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006556/0.05968, allocations: 5.348 MB / 428.3 MB, free: 6.258 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.05969, allocations: 0 / 428.3 MB, free: 6.258 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.05969, allocations: 3.938 kB / 428.3 MB, free: 6.254 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002433/0.05993, allocations: 0 / 428.3 MB, free: 6.254 MB / 346.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.008133/0.06807, allocations: 5.855 MB / 434.2 MB, free: 340 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.06811, allocations: 16.03 kB / 434.2 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007529/0.07564, allocations: 2.183 MB / 436.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003414/0.07905, allocations: 2.395 MB / 438.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/0.07921, allocations: 246.8 kB / 439 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005063/0.07972, allocations: 352.3 kB / 439.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008476/0.0882, allocations: 6.669 MB / 446 MB, free: 3.305 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/0.0883, allocations: 55.52 kB / 446.1 MB, free: 3.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002972/0.08859, allocations: 155.8 kB / 446.2 MB, free: 3.098 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001708/0.0903, allocations: 2.092 MB / 448.3 MB, free: 1.004 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006644/0.09695, allocations: 3.153 MB / 451.5 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2132/0.3101, allocations: 50.96 MB / 0.4906 GB, free: 71.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008536/0.3186, allocations: 2.612 MB / 0.4932 GB, free: 71.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/0.32, allocations: 0.6734 MB / 0.4938 GB, free: 71.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009238/0.3293, allocations: 6.313 MB / 0.5 GB, free: 70.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.3293, allocations: 55.17 kB / 0.5001 GB, free: 70.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=165): time 4.819e-06/0.3293, allocations: 0 / 0.5001 GB, free: 70.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=203): time 0.05241/0.3817, allocations: 18.06 MB / 0.5177 GB, free: 59.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.3818, allocations: 201.2 kB / 0.5179 GB, free: 59.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002935/0.3847, allocations: 3.842 MB / 0.5216 GB, free: 56.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000193/0.3849, allocations: 55.02 kB / 0.5217 GB, free: 56.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001261/0.3862, allocations: 3.848 MB / 0.5255 GB, free: 53.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006042/0.3868, allocations: 0.8496 MB / 0.5263 GB, free: 52.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001201/0.388, allocations: 1.485 MB / 0.5277 GB, free: 51.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.338e-05/0.388, allocations: 476.8 kB / 0.5282 GB, free: 50.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.3892, allocations: 0.7941 MB / 0.529 GB, free: 49.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002664/0.3919, allocations: 6.963 MB / 0.5358 GB, free: 40.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00487/0.3968, allocations: 8.423 MB / 0.544 GB, free: 29.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001036/0.3969, allocations: 40 kB / 0.544 GB, free: 29.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.01023/0.4071, allocations: 6.647 MB / 0.5505 GB, free: 22.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.753e-05/0.4072, allocations: 72.83 kB / 0.5506 GB, free: 22.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001144/0.4073, allocations: 144 kB / 0.5507 GB, free: 22.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004612/0.4119, allocations: 1.768 MB / 0.5525 GB, free: 20.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002597/0.4145, allocations: 1.478 MB / 0.5539 GB, free: 19.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006637/0.4211, allocations: 5.48 MB / 0.5593 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003701/0.4248, allocations: 303.7 kB / 0.5595 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004965/0.4253, allocations: 348 kB / 0.5599 GB, free: 13.08 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.00159/0.4269, allocations: 0.7108 MB / 0.5606 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006337/0.4275, allocations: 429.5 kB / 0.561 GB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004702/0.4322, allocations: 2.58 MB / 0.5635 GB, free: 9.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-05/0.4323, allocations: 27.94 kB / 0.5635 GB, free: 9.312 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.4323, allocations: 12 kB / 0.5635 GB, free: 9.301 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.4323, allocations: 7.969 kB / 0.5635 GB, free: 9.293 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01164/0.4439, allocations: 7.574 MB / 0.5709 GB, free: 1.625 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/0.4439, allocations: 8.031 kB / 0.5709 GB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000632/0.4446, allocations: 239.6 kB / 0.5712 GB, free: 1.383 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004172/0.4487, allocations: 1.536 MB / 0.5727 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000166/0.4489, allocations: 36 kB / 0.5727 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006519/0.4554, allocations: 4.453 MB / 0.5771 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.4554, allocations: 4 kB / 0.5771 GB, free: 11.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006993/0.4624, allocations: 3.669 MB / 0.5806 GB, free: 7.527 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/0.4637, allocations: 353.3 kB / 0.581 GB, free: 7.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004408/0.4641, allocations: 35.94 kB / 0.581 GB, free: 7.145 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009269/0.4651, allocations: 44 kB / 0.5811 GB, free: 7.102 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003494/0.4654, allocations: 137 kB / 0.5812 GB, free: 6.969 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.605e-05/0.4655, allocations: 40 kB / 0.5812 GB, free: 6.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001901/0.4674, allocations: 1.543 MB / 0.5827 GB, free: 5.406 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4674, allocations: 0 / 0.5827 GB, free: 5.406 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004765/0.4722, allocations: 1.394 MB / 0.5841 GB, free: 4.012 MB / 426.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.0005877/0.4728, allocations: 185.6 kB / 0.5843 GB, free: 3.824 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005436/0.4782, allocations: 3.537 MB / 0.5877 GB, free: 312 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/0.4782, allocations: 7.984 kB / 0.5877 GB, free: 304 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001639/0.4798, allocations: 1.057 MB / 0.5888 GB, free: 15.22 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/0.4821, allocations: 447.3 kB / 0.5892 GB, free: 14.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/0.4952, allocations: 8.613 MB / 0.5976 GB, free: 6.074 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001629/0.4969, allocations: 1.412 MB / 0.599 GB, free: 4.633 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001675/0.4985, allocations: 0.5317 MB / 0.5995 GB, free: 4.102 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/0.4996, allocations: 0.627 MB / 0.6001 GB, free: 3.473 MB / 442.7 MB Notification: Performance of SimCode: time 2.264e-06/0.4996, allocations: 0 / 0.6001 GB, free: 3.473 MB / 442.7 MB Notification: Performance of Templates: time 0.07095/0.5705, allocations: 54.71 MB / 0.6535 GB, free: 13.14 MB / 0.4948 GB " [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.940856885164976]