Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00204/0.00204, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002804/0.002804, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.612/1.612, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3967/0.3967, allocations: 34.26 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.21e-05/3.383e-05, allocations: 2.312 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.0162/0.01623, allocations: 11.49 MB / 388.8 MB, free: 7.41 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01161/0.02785, allocations: 4.293 MB / 393.1 MB, free: 3.102 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002041/0.02989, allocations: 83.62 kB / 393.2 MB, free: 3.02 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006696/0.03658, allocations: 2.955 MB / 396.1 MB, free: 56 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007059/0.04364, allocations: 2.131 MB / 398.2 MB, free: 13.91 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002987/0.04663, allocations: 1.127 MB / 399.4 MB, free: 12.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0103/0.05693, allocations: 6.095 MB / 405.5 MB, free: 6.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006335/0.06326, allocations: 3.501 MB / 409 MB, free: 3.129 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006662/0.06992, allocations: 2.709 MB / 411.7 MB, free: 424 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005633/0.07556, allocations: 2.786 MB / 414.5 MB, free: 13.62 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001087/0.07665, allocations: 376 kB / 414.8 MB, free: 13.25 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00334/0.07999, allocations: 1.357 MB / 416.2 MB, free: 11.89 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00305/0.08304, allocations: 2.353 MB / 418.5 MB, free: 9.535 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003374/0.08641, allocations: 1.452 MB / 420 MB, free: 8.078 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0132/0.09961, allocations: 8.177 MB / 428.2 MB, free: 15.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.09962, allocations: 0 / 428.2 MB, free: 15.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.09962, allocations: 0 / 428.2 MB, free: 15.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003105/0.09993, allocations: 0 / 428.2 MB, free: 15.88 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.01971/0.1196, allocations: 6.726 MB / 434.9 MB, free: 9.082 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/0.1197, allocations: 12.03 kB / 434.9 MB, free: 9.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02014/0.1398, allocations: 3.161 MB / 438.1 MB, free: 5.902 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0102/0.15, allocations: 2.879 MB / 441 MB, free: 2.969 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003206/0.1504, allocations: 254.8 kB / 441.2 MB, free: 2.719 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00158/0.1519, allocations: 352.2 kB / 441.5 MB, free: 2.375 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2059/0.3579, allocations: 8.113 MB / 449.7 MB, free: 93.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001622/0.358, allocations: 51.91 kB / 449.7 MB, free: 93.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005364/0.3586, allocations: 166.6 kB / 449.9 MB, free: 93.22 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00335/0.3619, allocations: 2.378 MB / 452.2 MB, free: 92.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01458/0.3765, allocations: 4.848 MB / 457.1 MB, free: 92.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0588/0.4353, allocations: 56.13 MB / 0.5012 GB, free: 47.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01314/0.4484, allocations: 3.482 MB / 0.5046 GB, free: 47.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002159/0.4506, allocations: 1.023 MB / 0.5056 GB, free: 47.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.016/0.4666, allocations: 7.965 MB / 0.5134 GB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.4666, allocations: 59.45 kB / 0.5134 GB, free: 42.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=204): time 6.392e-06/0.4667, allocations: 3.969 kB / 0.5134 GB, free: 42.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.08843/0.5551, allocations: 26.27 MB / 0.5391 GB, free: 18.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.576e-05/0.5552, allocations: 209.9 kB / 0.5393 GB, free: 17.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005173/0.5603, allocations: 4.732 MB / 0.5439 GB, free: 13.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005399/0.5609, allocations: 67.64 kB / 0.544 GB, free: 13.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001683/0.5625, allocations: 3.89 MB / 0.5478 GB, free: 9.293 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001125/0.5637, allocations: 1.132 MB / 0.5489 GB, free: 8.164 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002031/0.5657, allocations: 1.762 MB / 0.5506 GB, free: 6.391 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.803e-05/0.5658, allocations: 476.8 kB / 0.5511 GB, free: 5.922 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002231/0.568, allocations: 1.138 MB / 0.5522 GB, free: 4.781 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006634/0.5746, allocations: 7.202 MB / 0.5592 GB, free: 10.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01416/0.5888, allocations: 9.314 MB / 0.5683 GB, free: 15 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001835/0.589, allocations: 44 kB / 0.5683 GB, free: 14.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.02532/0.6143, allocations: 8.479 MB / 0.5766 GB, free: 6.465 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.6144, allocations: 67.94 kB / 0.5767 GB, free: 6.398 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001864/0.6146, allocations: 136 kB / 0.5768 GB, free: 6.266 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01161/0.6262, allocations: 2.716 MB / 0.5795 GB, free: 3.543 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006169/0.6324, allocations: 1.571 MB / 0.581 GB, free: 1.969 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01826/0.6507, allocations: 7.094 MB / 0.5879 GB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006155/0.6568, allocations: 495.3 kB / 0.5884 GB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001339/0.6582, allocations: 415.9 kB / 0.5888 GB, free: 9.859 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.002941/0.6611, allocations: 0.8096 MB / 0.5896 GB, free: 9.035 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001321/0.6624, allocations: 453.5 kB / 0.59 GB, free: 8.59 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01483/0.6772, allocations: 4.393 MB / 0.5943 GB, free: 4.176 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.492e-05/0.6773, allocations: 28 kB / 0.5943 GB, free: 4.148 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.311e-05/0.6773, allocations: 16 kB / 0.5944 GB, free: 4.133 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-05/0.6774, allocations: 11.95 kB / 0.5944 GB, free: 4.121 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2448/0.9222, allocations: 10.47 MB / 0.6046 GB, free: 122.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.593e-05/0.9222, allocations: 3.938 kB / 0.6046 GB, free: 122.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002107/0.9243, allocations: 382.7 kB / 0.605 GB, free: 122.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009581/0.9339, allocations: 2.48 MB / 0.6074 GB, free: 122.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005751/0.9344, allocations: 42.84 kB / 0.6074 GB, free: 122.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01305/0.9475, allocations: 6.111 MB / 0.6134 GB, free: 120.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.9475, allocations: 9.969 kB / 0.6134 GB, free: 120.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01492/0.9624, allocations: 5.783 MB / 0.619 GB, free: 120.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001435/0.9639, allocations: 376.7 kB / 0.6194 GB, free: 120.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008023/0.9647, allocations: 45.34 kB / 0.6194 GB, free: 120.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002473/0.9671, allocations: 244.1 kB / 0.6197 GB, free: 120.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006552/0.9678, allocations: 167.5 kB / 0.6198 GB, free: 120.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002163/0.968, allocations: 67.44 kB / 0.6199 GB, free: 120.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003107/0.9711, allocations: 1.916 MB / 0.6218 GB, free: 119.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.9711, allocations: 6.75 kB / 0.6218 GB, free: 119.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006799/0.9779, allocations: 1.479 MB / 0.6232 GB, free: 119.3 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.0007157/0.9786, allocations: 187.9 kB / 0.6234 GB, free: 119.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01145/0.9901, allocations: 4.81 MB / 0.6281 GB, free: 117.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/0.9901, allocations: 1.562 kB / 0.6281 GB, free: 117.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004499/0.9946, allocations: 1.868 MB / 0.6299 GB, free: 117.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003548/0.9981, allocations: 457.5 kB / 0.6304 GB, free: 116.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01889/1.017, allocations: 9.479 MB / 0.6396 GB, free: 112.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004508/1.022, allocations: 2.852 MB / 0.6424 GB, free: 111.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004785/1.026, allocations: 1.788 MB / 0.6442 GB, free: 111.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/1.027, allocations: 271.1 kB / 0.6444 GB, free: 111.5 MB / 458.7 MB Notification: Performance of SimCode: time 2.605e-06/1.027, allocations: 0 / 0.6444 GB, free: 111.5 MB / 458.7 MB Notification: Performance of Templates: time 0.08333/1.111, allocations: 56.81 MB / 0.6999 GB, free: 60.18 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.957809804938734]