Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001836/0.001836, allocations: 88.33 kB / 20.2 MB, free: 4.227 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.001979/0.001979, allocations: 157.3 kB / 23.51 MB, free: 0.9219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 158.6 MB / 185.3 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2295/0.2295, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.066e-05/3.264e-05, allocations: 2.312 kB / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.009874/0.009907, allocations: 10.54 MB / 357.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0118/0.02171, allocations: 4.177 MB / 361.7 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0028/0.02451, allocations: 87.56 kB / 361.7 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007212/0.03172, allocations: 2.877 MB / 364.6 MB, free: 8.051 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007628/0.03935, allocations: 2.177 MB / 366.8 MB, free: 5.863 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003766/0.04311, allocations: 1.134 MB / 367.9 MB, free: 4.727 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01041/0.05353, allocations: 5.804 MB / 373.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008071/0.0616, allocations: 3.505 MB / 377.2 MB, free: 11.35 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007833/0.06943, allocations: 2.721 MB / 380 MB, free: 8.625 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006545/0.07598, allocations: 2.759 MB / 382.7 MB, free: 5.859 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001777/0.07775, allocations: 380 kB / 383.1 MB, free: 5.488 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00396/0.08171, allocations: 1.377 MB / 384.5 MB, free: 4.109 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004028/0.08574, allocations: 2.38 MB / 386.8 MB, free: 1.723 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003564/0.08931, allocations: 1.456 MB / 388.3 MB, free: 268 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01476/0.1041, allocations: 8.27 MB / 396.6 MB, free: 7.965 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.1041, allocations: 3.984 kB / 396.6 MB, free: 7.961 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.1041, allocations: 0 / 396.6 MB, free: 7.961 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003163/0.1044, allocations: 0 / 396.6 MB, free: 7.961 MB / 330.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.02016/0.1246, allocations: 5.895 MB / 402.5 MB, free: 2.004 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.1246, allocations: 12.03 kB / 402.5 MB, free: 1.992 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01904/0.1436, allocations: 3.231 MB / 405.7 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009485/0.1531, allocations: 3.208 MB / 408.9 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003655/0.1535, allocations: 254.8 kB / 409.2 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001689/0.1552, allocations: 348.3 kB / 409.5 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02877/0.184, allocations: 12.54 MB / 422 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002001/0.1842, allocations: 55.56 kB / 422.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006242/0.1848, allocations: 163.8 kB / 422.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004637/0.1894, allocations: 2.381 MB / 424.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02602/0.2154, allocations: 10.88 MB / 435.5 MB, free: 28 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2609/0.4764, allocations: 45.88 MB / 481.4 MB, free: 71.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01468/0.491, allocations: 5.528 MB / 486.9 MB, free: 69.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003644/0.4947, allocations: 3.052 MB / 490 MB, free: 68.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01791/0.5126, allocations: 12.13 MB / 0.4903 GB, free: 59.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.328e-05/0.5127, allocations: 60.78 kB / 0.4904 GB, free: 59.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=206): time 6.562e-06/0.5127, allocations: 0 / 0.4904 GB, free: 59.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=267): time 0.1274/0.6401, allocations: 47.32 MB / 0.5366 GB, free: 12.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.938e-05/0.6402, allocations: 205.9 kB / 0.5368 GB, free: 11.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005439/0.6456, allocations: 4.295 MB / 0.541 GB, free: 7.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008392/0.6465, allocations: 65.7 kB / 0.5411 GB, free: 7.699 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001805/0.6483, allocations: 3.5 MB / 0.5445 GB, free: 4.336 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001374/0.6496, allocations: 1.02 MB / 0.5455 GB, free: 3.332 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001875/0.6515, allocations: 1.409 MB / 0.5469 GB, free: 1.914 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.034e-05/0.6516, allocations: 305.1 kB / 0.5471 GB, free: 1.613 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005463/0.657, allocations: 3.504 MB / 0.5506 GB, free: 14.11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01173/0.6688, allocations: 7.458 MB / 0.5579 GB, free: 4.727 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01875/0.6875, allocations: 11.67 MB / 0.5692 GB, free: 7.156 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001912/0.6877, allocations: 40 kB / 0.5693 GB, free: 7.117 MB / 410.7 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.03686/0.7246, allocations: 14.87 MB / 0.5838 GB, free: 8.227 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001124/0.7247, allocations: 60 kB / 0.5839 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002029/0.7249, allocations: 136.8 kB / 0.584 GB, free: 8.035 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01784/0.7427, allocations: 5.304 MB / 0.5892 GB, free: 2.723 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006574/0.7493, allocations: 1.579 MB / 0.5907 GB, free: 1.141 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2528/1.002, allocations: 20.64 MB / 0.6109 GB, free: 147.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007906/1.01, allocations: 0.5508 MB / 0.6114 GB, free: 147.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001566/1.012, allocations: 413.2 kB / 0.6118 GB, free: 147.5 MB / 442.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.005618/1.017, allocations: 2.347 MB / 0.6141 GB, free: 147.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001574/1.019, allocations: 461.2 kB / 0.6145 GB, free: 147.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01911/1.038, allocations: 9.29 MB / 0.6236 GB, free: 144.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.82e-05/1.038, allocations: 26.16 kB / 0.6236 GB, free: 144.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.459e-05/1.038, allocations: 11.44 kB / 0.6236 GB, free: 144.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.879e-05/1.038, allocations: 14.89 kB / 0.6237 GB, free: 144.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03168/1.07, allocations: 15.9 MB / 0.6392 GB, free: 136 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.453e-05/1.07, allocations: 4.469 kB / 0.6392 GB, free: 136 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002408/1.072, allocations: 385.4 kB / 0.6396 GB, free: 135.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01377/1.086, allocations: 5.067 MB / 0.6445 GB, free: 130.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008091/1.087, allocations: 43.72 kB / 0.6446 GB, free: 130.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02321/1.11, allocations: 18.75 MB / 0.6629 GB, free: 111.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.11, allocations: 8.906 kB / 0.6629 GB, free: 111.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02472/1.135, allocations: 13.85 MB / 0.6764 GB, free: 98.21 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003222/1.138, allocations: 0.9372 MB / 0.6773 GB, free: 97.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001555/1.14, allocations: 47.92 kB / 0.6774 GB, free: 97.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00382/1.143, allocations: 303.5 kB / 0.6777 GB, free: 97.06 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001082/1.144, allocations: 165.1 kB / 0.6778 GB, free: 96.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004811/1.145, allocations: 67.98 kB / 0.6779 GB, free: 96.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004798/1.15, allocations: 2.532 MB / 0.6803 GB, free: 94.32 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.11e-07/1.15, allocations: 0 / 0.6803 GB, free: 94.32 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009507/1.159, allocations: 1.562 MB / 0.6819 GB, free: 92.77 MB / 442.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.001262/1.16, allocations: 197.3 kB / 0.6821 GB, free: 92.58 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01444/1.175, allocations: 8.334 MB / 0.6902 GB, free: 84.29 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/1.175, allocations: 0 / 0.6902 GB, free: 84.29 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005966/1.181, allocations: 3.334 MB / 0.6935 GB, free: 80.95 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00518/1.186, allocations: 484.1 kB / 0.6939 GB, free: 80.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02194/1.208, allocations: 12.3 MB / 0.7059 GB, free: 68.14 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004263/1.212, allocations: 3.157 MB / 0.709 GB, free: 64.95 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004757/1.217, allocations: 2.127 MB / 0.7111 GB, free: 62.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001176/1.218, allocations: 276.4 kB / 0.7114 GB, free: 62.54 MB / 442.7 MB Notification: Performance of SimCode: time 2.334e-06/1.218, allocations: 0 / 0.7114 GB, free: 62.54 MB / 442.7 MB Notification: Performance of Templates: time 0.3268/1.545, allocations: 61.86 MB / 0.7718 GB, free: 142.4 MB / 442.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.315102319000289]