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.001617/0.001617, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001901/0.001901, allocations: 165.7 kB / 24.27 MB, free: 140 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.49/1.49, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.3838/0.3838, allocations: 34.26 MB / 295.3 MB, free: 0.707 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 2.144e-06/2.144e-06, allocations: 0 / 377.3 MB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/2.913e-05, allocations: 2.312 kB / 377.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01519/0.01521, allocations: 10.47 MB / 387.7 MB, free: 8.473 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01073/0.02594, allocations: 4.192 MB / 391.9 MB, free: 4.266 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002681/0.02862, allocations: 83.62 kB / 392 MB, free: 4.184 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006583/0.0352, allocations: 2.861 MB / 394.9 MB, free: 1.312 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00709/0.04229, allocations: 2.138 MB / 397 MB, free: 15.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002804/0.0451, allocations: 1.127 MB / 398.1 MB, free: 14.04 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009384/0.05448, allocations: 6.095 MB / 404.2 MB, free: 7.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005254/0.05974, allocations: 3.498 MB / 407.7 MB, free: 4.383 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005373/0.06511, allocations: 2.686 MB / 410.4 MB, free: 1.691 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005302/0.07041, allocations: 2.747 MB / 413.2 MB, free: 14.94 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001189/0.0716, allocations: 380 kB / 413.5 MB, free: 14.57 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003354/0.07496, allocations: 1.373 MB / 414.9 MB, free: 13.19 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003077/0.07803, allocations: 2.337 MB / 417.3 MB, free: 10.85 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003158/0.08119, allocations: 1.445 MB / 418.7 MB, free: 9.398 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01248/0.09367, allocations: 8.185 MB / 426.9 MB, free: 1.188 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.09368, allocations: 4 kB / 426.9 MB, free: 1.184 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.09368, allocations: 0 / 426.9 MB, free: 1.184 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002283/0.09391, allocations: 0 / 426.9 MB, free: 1.184 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.0162/0.1101, allocations: 5.876 MB / 432.8 MB, free: 11.24 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.769e-05/0.1102, allocations: 8.031 kB / 432.8 MB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0187/0.1289, allocations: 3.231 MB / 436 MB, free: 7.996 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008498/0.1374, allocations: 3.091 MB / 439.1 MB, free: 4.852 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000318/0.1377, allocations: 254.8 kB / 439.3 MB, free: 4.602 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001255/0.1389, allocations: 356.3 kB / 439.7 MB, free: 4.254 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1951/0.334, allocations: 12.52 MB / 452.2 MB, free: 92.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001395/0.3342, allocations: 53.2 kB / 452.3 MB, free: 92.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004518/0.3346, allocations: 164.3 kB / 452.4 MB, free: 92.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003182/0.3378, allocations: 2.386 MB / 454.8 MB, free: 92.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01915/0.3569, allocations: 10.88 MB / 465.7 MB, free: 88.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05765/0.4146, allocations: 45.84 MB / 0.4995 GB, free: 57.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01512/0.4297, allocations: 5.534 MB / 0.5049 GB, free: 52.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003734/0.4334, allocations: 3.046 MB / 0.5079 GB, free: 50.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01626/0.4497, allocations: 12.12 MB / 0.5198 GB, free: 38.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.4498, allocations: 51.88 kB / 0.5198 GB, free: 38.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=206): time 5.661e-06/0.4498, allocations: 0 / 0.5198 GB, free: 38.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=267): time 0.1296/0.5793, allocations: 47.23 MB / 0.5659 GB, free: 7.492 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001907/0.5795, allocations: 213.8 kB / 0.5661 GB, free: 7.238 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008056/0.5876, allocations: 4.192 MB / 0.5702 GB, free: 3.105 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00094/0.5885, allocations: 69.7 kB / 0.5703 GB, free: 3.031 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003513/0.592, allocations: 3.502 MB / 0.5737 GB, free: 15.53 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001978/0.594, allocations: 1.011 MB / 0.5747 GB, free: 14.51 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0029/0.5969, allocations: 1.417 MB / 0.5761 GB, free: 13.08 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.5971, allocations: 301.1 kB / 0.5764 GB, free: 12.79 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006229/0.6033, allocations: 3.508 MB / 0.5798 GB, free: 9.273 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01139/0.6147, allocations: 7.458 MB / 0.5871 GB, free: 15.89 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01968/0.6344, allocations: 11.66 MB / 0.5985 GB, free: 2.332 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001539/0.6345, allocations: 36 kB / 0.5985 GB, free: 2.297 MB / 458.7 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.2777/0.9122, allocations: 14.86 MB / 0.613 GB, free: 128.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.451e-05/0.9123, allocations: 64.62 kB / 0.6131 GB, free: 128.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001557/0.9124, allocations: 139.8 kB / 0.6132 GB, free: 128.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01474/0.9272, allocations: 5.306 MB / 0.6184 GB, free: 127.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005565/0.9327, allocations: 1.578 MB / 0.6199 GB, free: 127 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02976/0.9625, allocations: 20.65 MB / 0.6401 GB, free: 118.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006576/0.9691, allocations: 0.5347 MB / 0.6406 GB, free: 118.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001077/0.9702, allocations: 410.7 kB / 0.641 GB, free: 118.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 618 * 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 (835): * Single equations (assignments): 831 * 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,53,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004093/0.9743, allocations: 2.345 MB / 0.6433 GB, free: 117.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001233/0.9755, allocations: 463.1 kB / 0.6438 GB, free: 117.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0178/0.9933, allocations: 9.285 MB / 0.6528 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.197e-05/0.9934, allocations: 28 kB / 0.6529 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-05/0.9934, allocations: 12 kB / 0.6529 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.628e-05/0.9935, allocations: 11.44 kB / 0.6529 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02958/1.023, allocations: 15.89 MB / 0.6684 GB, free: 98.44 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.95e-05/1.023, allocations: 4 kB / 0.6684 GB, free: 98.44 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002125/1.025, allocations: 384.7 kB / 0.6688 GB, free: 98.06 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01371/1.039, allocations: 5.059 MB / 0.6737 GB, free: 93 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007067/1.04, allocations: 47.98 kB / 0.6737 GB, free: 92.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02383/1.063, allocations: 18.76 MB / 0.6921 GB, free: 74.21 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.063, allocations: 4 kB / 0.6921 GB, free: 74.21 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02253/1.086, allocations: 13.85 MB / 0.7056 GB, free: 60.45 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/1.087, allocations: 382.5 kB / 0.706 GB, free: 60.08 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001286/1.088, allocations: 46.91 kB / 0.706 GB, free: 60.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003226/1.092, allocations: 287.5 kB / 0.7063 GB, free: 59.76 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008602/1.092, allocations: 173.1 kB / 0.7064 GB, free: 59.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002434/1.093, allocations: 64 kB / 0.7065 GB, free: 59.53 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003453/1.096, allocations: 2.462 MB / 0.7089 GB, free: 57.08 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/1.096, allocations: 4 kB / 0.7089 GB, free: 57.08 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007193/1.103, allocations: 1.527 MB / 0.7104 GB, free: 55.56 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 (196): * Single equations (assignments): 192 * 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,47,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008458/1.104, allocations: 194.4 kB / 0.7106 GB, free: 55.37 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01224/1.116, allocations: 8.332 MB / 0.7187 GB, free: 47.05 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/1.116, allocations: 4 kB / 0.7187 GB, free: 47.04 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004816/1.121, allocations: 3.342 MB / 0.722 GB, free: 43.69 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002973/1.124, allocations: 465.1 kB / 0.7224 GB, free: 43.26 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01767/1.142, allocations: 12.27 MB / 0.7344 GB, free: 30.94 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003449/1.145, allocations: 3.139 MB / 0.7375 GB, free: 27.78 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004387/1.15, allocations: 2.134 MB / 0.7396 GB, free: 25.64 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/1.151, allocations: 272.4 kB / 0.7398 GB, free: 25.38 MB / 458.7 MB Notification: Performance of SimCode: time 1.573e-06/1.151, allocations: 0 / 0.7398 GB, free: 25.38 MB / 458.7 MB Notification: Performance of Templates: time 0.2627/1.414, allocations: 61.32 MB / 0.7997 GB, free: 131.9 MB / 474.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 480] 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: 8.20751774404198]