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.001902/0.001902, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.002/0.002, allocations: 156.8 kB / 24.27 MB, free: 156 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.642/1.642, allocations: 177 MB / 204.5 MB, free: 5.605 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.4052/0.4052, allocations: 34.25 MB / 295.2 MB, free: 0.6328 MB / 266.7 MB " [Timeout remaining time 179] 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.553e-06/1.553e-06, allocations: 0 / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.709e-05/2.864e-05, allocations: 6.312 kB / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01621/0.01624, allocations: 11.48 MB / 388.7 MB, free: 7.363 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.02688, allocations: 4.289 MB / 393 MB, free: 3.062 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003513/0.03039, allocations: 87.56 kB / 393.1 MB, free: 2.977 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007016/0.03741, allocations: 2.955 MB / 396 MB, free: 12 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006379/0.04379, allocations: 2.135 MB / 398.2 MB, free: 13.87 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002735/0.04652, allocations: 1.127 MB / 399.3 MB, free: 12.74 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009491/0.05601, allocations: 6.099 MB / 405.4 MB, free: 6.629 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006066/0.06208, allocations: 3.498 MB / 408.9 MB, free: 3.082 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005161/0.06724, allocations: 2.709 MB / 411.6 MB, free: 376 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005174/0.07241, allocations: 2.79 MB / 414.4 MB, free: 13.57 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001244/0.07366, allocations: 376 kB / 414.8 MB, free: 13.2 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003291/0.07695, allocations: 1.361 MB / 416.1 MB, free: 11.84 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003105/0.08005, allocations: 2.353 MB / 418.5 MB, free: 9.477 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002665/0.08272, allocations: 1.449 MB / 419.9 MB, free: 8.023 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01205/0.09477, allocations: 8.177 MB / 428.1 MB, free: 15.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.09478, allocations: 0 / 428.1 MB, free: 15.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.09478, allocations: 0 / 428.1 MB, free: 15.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002794/0.09506, allocations: 4 kB / 428.1 MB, free: 15.82 MB / 410.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.01733/0.1124, allocations: 6.726 MB / 434.8 MB, free: 9.023 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.1124, allocations: 8.031 kB / 434.8 MB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01933/0.1318, allocations: 3.161 MB / 438 MB, free: 5.848 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008996/0.1408, allocations: 2.883 MB / 440.9 MB, free: 2.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003206/0.1411, allocations: 254.8 kB / 441.1 MB, free: 2.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001505/0.1426, allocations: 344.3 kB / 441.5 MB, free: 2.324 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1941/0.3367, allocations: 8.115 MB / 449.6 MB, free: 93.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000165/0.3369, allocations: 55.28 kB / 449.6 MB, free: 93.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004917/0.3374, allocations: 167.1 kB / 449.8 MB, free: 93.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003438/0.3408, allocations: 2.378 MB / 452.2 MB, free: 92.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01514/0.356, allocations: 4.854 MB / 457 MB, free: 91.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05833/0.4143, allocations: 56.13 MB / 0.5011 GB, free: 47.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01344/0.4277, allocations: 3.489 MB / 0.5045 GB, free: 47.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002255/0.43, allocations: 1.017 MB / 0.5055 GB, free: 47.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01724/0.4472, allocations: 7.966 MB / 0.5133 GB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.4473, allocations: 59.86 kB / 0.5134 GB, free: 42.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=204): time 5.43e-06/0.4473, allocations: 4 kB / 0.5134 GB, free: 42.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.09158/0.5388, allocations: 26.27 MB / 0.539 GB, free: 18.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/0.5389, allocations: 205.9 kB / 0.5392 GB, free: 17.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00557/0.5445, allocations: 4.74 MB / 0.5439 GB, free: 13.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007376/0.5452, allocations: 65.7 kB / 0.5439 GB, free: 13.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001994/0.5472, allocations: 3.884 MB / 0.5477 GB, free: 9.211 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001556/0.5488, allocations: 1.13 MB / 0.5488 GB, free: 8.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002084/0.5509, allocations: 1.754 MB / 0.5505 GB, free: 6.324 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.42e-05/0.5509, allocations: 476.8 kB / 0.551 GB, free: 5.855 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002276/0.5532, allocations: 1.146 MB / 0.5521 GB, free: 4.707 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007448/0.5607, allocations: 7.195 MB / 0.5591 GB, free: 10.87 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01568/0.5764, allocations: 9.326 MB / 0.5682 GB, free: 14.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002149/0.5766, allocations: 40 kB / 0.5683 GB, free: 14.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.02663/0.6032, allocations: 8.482 MB / 0.5766 GB, free: 6.387 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.6033, allocations: 63.94 kB / 0.5766 GB, free: 6.324 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001887/0.6035, allocations: 147.9 kB / 0.5768 GB, free: 6.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01194/0.6155, allocations: 2.696 MB / 0.5794 GB, free: 3.473 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006257/0.6217, allocations: 1.579 MB / 0.5809 GB, free: 1.891 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01858/0.6403, allocations: 7.104 MB / 0.5879 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006285/0.6466, allocations: 499.3 kB / 0.5883 GB, free: 10.17 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001533/0.6481, allocations: 412 kB / 0.5887 GB, free: 9.77 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * 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 (839): * Single equations (assignments): 835 * 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 {(4,51,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00355/0.6517, allocations: 0.8056 MB / 0.5895 GB, free: 8.949 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001332/0.653, allocations: 453.5 kB / 0.59 GB, free: 8.504 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01464/0.6676, allocations: 4.397 MB / 0.5942 GB, free: 4.086 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-05/0.6677, allocations: 28 kB / 0.5943 GB, free: 4.059 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.487e-05/0.6677, allocations: 15.94 kB / 0.5943 GB, free: 4.043 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.4e-05/0.6678, allocations: 11.95 kB / 0.5943 GB, free: 4.031 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2046/0.8724, allocations: 10.46 MB / 0.6045 GB, free: 122.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.187e-05/0.8724, allocations: 0 / 0.6045 GB, free: 122.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002003/0.8744, allocations: 387.4 kB / 0.6049 GB, free: 122.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009688/0.8841, allocations: 2.482 MB / 0.6073 GB, free: 122.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005534/0.8846, allocations: 45.69 kB / 0.6074 GB, free: 122.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01314/0.8978, allocations: 6.107 MB / 0.6133 GB, free: 120.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.8978, allocations: 6.281 kB / 0.6133 GB, free: 120.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01429/0.9121, allocations: 5.784 MB / 0.619 GB, free: 120.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/0.9133, allocations: 375.8 kB / 0.6193 GB, free: 120.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006245/0.9139, allocations: 43.31 kB / 0.6194 GB, free: 120 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002316/0.9162, allocations: 250.1 kB / 0.6196 GB, free: 120 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005997/0.9168, allocations: 163 kB / 0.6198 GB, free: 120 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002082/0.917, allocations: 69.73 kB / 0.6198 GB, free: 120 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003002/0.92, allocations: 1.916 MB / 0.6217 GB, free: 119.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.92, allocations: 0 / 0.6217 GB, free: 119.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005999/0.926, allocations: 1.479 MB / 0.6232 GB, free: 119.1 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 (197): * Single equations (assignments): 193 * 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,44,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005788/0.9266, allocations: 205.6 kB / 0.6233 GB, free: 119 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01068/0.9373, allocations: 4.805 MB / 0.628 GB, free: 117.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.9373, allocations: 0 / 0.628 GB, free: 117.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004276/0.9416, allocations: 1.864 MB / 0.6299 GB, free: 116.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00307/0.9446, allocations: 459.9 kB / 0.6303 GB, free: 116.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0163/0.9609, allocations: 9.471 MB / 0.6395 GB, free: 112.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00389/0.9648, allocations: 2.851 MB / 0.6423 GB, free: 111.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004492/0.9693, allocations: 1.786 MB / 0.6441 GB, free: 111.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009456/0.9703, allocations: 272.9 kB / 0.6443 GB, free: 111.3 MB / 458.7 MB Notification: Performance of SimCode: time 1.493e-06/0.9703, allocations: 0 / 0.6443 GB, free: 111.3 MB / 458.7 MB Notification: Performance of Templates: time 0.07919/1.049, allocations: 56.81 MB / 0.6998 GB, free: 60.09 MB / 458.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","/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: 7.9880667749093845]