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.001453/0.001453, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001795/0.001795, allocations: 169.2 kB / 24.82 MB, free: 9.273 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 1.032/1.032, allocations: 177 MB / 205.1 MB, free: 5.48 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.87 MB / 296.6 MB, free: 0.5195 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.864e-06/1.864e-06, allocations: 0 / 379.2 MB, free: 1.855 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.659e-05, allocations: 6.25 kB / 379.2 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.009828/0.009855, allocations: 11.29 MB / 390.5 MB, free: 6.508 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007183/0.01704, allocations: 4.273 MB / 394.8 MB, free: 2.223 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/0.01852, allocations: 87.56 kB / 394.9 MB, free: 2.137 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003275/0.02179, allocations: 2.908 MB / 397.8 MB, free: 15.22 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0036/0.02539, allocations: 2.15 MB / 399.9 MB, free: 13.06 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.02682, allocations: 1.127 MB / 401.1 MB, free: 11.93 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005037/0.03185, allocations: 6.107 MB / 407.2 MB, free: 5.812 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002635/0.03449, allocations: 3.494 MB / 410.7 MB, free: 2.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003509/0.038, allocations: 3.302 MB / 414 MB, free: 14.96 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002383/0.04038, allocations: 2.732 MB / 416.7 MB, free: 12.22 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004774/0.04086, allocations: 372 kB / 417.1 MB, free: 11.86 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.04294, allocations: 1.346 MB / 418.4 MB, free: 10.51 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001393/0.04434, allocations: 2.338 MB / 420.7 MB, free: 8.168 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.04553, allocations: 1.429 MB / 422.2 MB, free: 6.734 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004769/0.0503, allocations: 5.344 MB / 427.5 MB, free: 1.371 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.0503, allocations: 3.938 kB / 427.5 MB, free: 1.367 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.0503, allocations: 0 / 427.5 MB, free: 1.367 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.968e-05/0.05037, allocations: 0 / 427.5 MB, free: 1.367 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.006591/0.05696, allocations: 5.863 MB / 433.4 MB, free: 11.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.05701, allocations: 8.031 kB / 433.4 MB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007135/0.06414, allocations: 2.183 MB / 435.6 MB, free: 9.238 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003314/0.06745, allocations: 2.395 MB / 438 MB, free: 6.789 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.06759, allocations: 254.8 kB / 438.2 MB, free: 6.539 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004682/0.06806, allocations: 348.3 kB / 438.6 MB, free: 6.199 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1982/0.2662, allocations: 6.671 MB / 445.2 MB, free: 89.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002075/0.2664, allocations: 53.59 kB / 445.3 MB, free: 89.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003469/0.2668, allocations: 161.6 kB / 445.4 MB, free: 89.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001882/0.2687, allocations: 2.087 MB / 447.5 MB, free: 89.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006211/0.2749, allocations: 3.142 MB / 450.7 MB, free: 89.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02645/0.3013, allocations: 50.96 MB / 0.4899 GB, free: 48.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005349/0.3067, allocations: 2.634 MB / 0.4924 GB, free: 48.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006538/0.3073, allocations: 0.6785 MB / 0.4931 GB, free: 48.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00708/0.3144, allocations: 6.296 MB / 0.4993 GB, free: 44.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.3144, allocations: 53.61 kB / 0.4993 GB, free: 44.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=165): time 3.827e-06/0.3145, allocations: 0 / 0.4993 GB, free: 44.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=203): time 0.04354/0.358, allocations: 18.08 MB / 0.517 GB, free: 38.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.358, allocations: 209.2 kB / 0.5172 GB, free: 38.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003402/0.3615, allocations: 3.836 MB / 0.5209 GB, free: 35.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.3616, allocations: 57.7 kB / 0.521 GB, free: 34.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001482/0.363, allocations: 3.836 MB / 0.5247 GB, free: 31.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005486/0.3636, allocations: 0.853 MB / 0.5255 GB, free: 30.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001127/0.3647, allocations: 1.479 MB / 0.527 GB, free: 28.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.316e-05/0.3648, allocations: 476.8 kB / 0.5274 GB, free: 28.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/0.3661, allocations: 0.8007 MB / 0.5282 GB, free: 27.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003452/0.3696, allocations: 6.963 MB / 0.535 GB, free: 17.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004793/0.3744, allocations: 8.435 MB / 0.5433 GB, free: 6.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.93e-05/0.3744, allocations: 40 kB / 0.5433 GB, free: 6.531 MB / 410.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.008612/0.383, allocations: 6.632 MB / 0.5498 GB, free: 15.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.574e-05/0.3831, allocations: 72.03 kB / 0.5498 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000135/0.3832, allocations: 144 kB / 0.55 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004422/0.3877, allocations: 1.771 MB / 0.5517 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002512/0.3902, allocations: 1.482 MB / 0.5532 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007008/0.3972, allocations: 5.467 MB / 0.5585 GB, free: 6.832 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002834/0.4, allocations: 293.8 kB / 0.5588 GB, free: 6.547 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003334/0.4003, allocations: 356 kB / 0.5591 GB, free: 6.199 MB / 426.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.001681/0.402, allocations: 0.7157 MB / 0.5598 GB, free: 5.469 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004904/0.4025, allocations: 425.6 kB / 0.5602 GB, free: 5.051 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004791/0.4073, allocations: 2.591 MB / 0.5628 GB, free: 2.438 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/0.4073, allocations: 20 kB / 0.5628 GB, free: 2.418 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.4073, allocations: 15.94 kB / 0.5628 GB, free: 2.402 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.4073, allocations: 7.969 kB / 0.5628 GB, free: 2.395 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0114/0.4188, allocations: 7.581 MB / 0.5702 GB, free: 10.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.4188, allocations: 4 kB / 0.5702 GB, free: 10.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005856/0.4193, allocations: 239.6 kB / 0.5704 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004097/0.4234, allocations: 1.533 MB / 0.5719 GB, free: 8.945 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.897e-05/0.4235, allocations: 40 kB / 0.572 GB, free: 8.906 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006289/0.4298, allocations: 4.445 MB / 0.5763 GB, free: 4.348 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4298, allocations: 4 kB / 0.5763 GB, free: 4.344 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00593/0.4358, allocations: 3.677 MB / 0.5799 GB, free: 0.6211 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005423/0.4363, allocations: 357.4 kB / 0.5802 GB, free: 276 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002515/0.4366, allocations: 36 kB / 0.5803 GB, free: 240 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000805/0.4374, allocations: 43.94 kB / 0.5803 GB, free: 196 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002321/0.4376, allocations: 125 kB / 0.5804 GB, free: 68 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/0.4377, allocations: 47.97 kB / 0.5805 GB, free: 20 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001696/0.4394, allocations: 1.54 MB / 0.582 GB, free: 14.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4394, allocations: 0 / 0.582 GB, free: 14.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005464/0.4449, allocations: 1.398 MB / 0.5833 GB, free: 13.1 MB / 458.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.0004845/0.4453, allocations: 178.8 kB / 0.5835 GB, free: 12.92 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005256/0.4506, allocations: 3.537 MB / 0.587 GB, free: 9.391 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.4506, allocations: 0 / 0.587 GB, free: 9.391 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00137/0.452, allocations: 1.077 MB / 0.588 GB, free: 8.297 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/0.4535, allocations: 444.5 kB / 0.5884 GB, free: 7.871 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.4643, allocations: 8.607 MB / 0.5969 GB, free: 15.14 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001187/0.4654, allocations: 1.409 MB / 0.5982 GB, free: 13.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001237/0.4667, allocations: 0.5229 MB / 0.5987 GB, free: 13.18 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008675/0.4675, allocations: 0.638 MB / 0.5994 GB, free: 12.54 MB / 474.7 MB Notification: Performance of SimCode: time 1.222e-06/0.4675, allocations: 0 / 0.5994 GB, free: 12.54 MB / 474.7 MB Notification: Performance of Templates: time 0.2064/0.674, allocations: 53.51 MB / 0.6516 GB, free: 130.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.778187462128699]