Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.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.001859/0.001859, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.002446/0.002446, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 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.454/1.454, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 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.2271/0.2271, allocations: 46.97 MB / 361.6 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 180] 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.Universal,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.Universal") translateModel(ModelicaTest.MultiBody.Joints.Universal,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.Universal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 59.91 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2852, allocations: 66.05 MB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01509/0.3003, allocations: 11.72 MB / 0.5733 GB, free: 8.363 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008256/0.3085, allocations: 4.023 MB / 0.5772 GB, free: 4.328 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.3096, allocations: 79.69 kB / 0.5773 GB, free: 4.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003709/0.3133, allocations: 1.923 MB / 0.5792 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003983/0.3173, allocations: 1.95 MB / 0.5811 GB, free: 372 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.3185, allocations: 0.5654 MB / 0.5816 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004641/0.3232, allocations: 4.038 MB / 0.5856 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002738/0.3259, allocations: 2.427 MB / 0.5879 GB, free: 9.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001734/0.3276, allocations: 1.472 MB / 0.5894 GB, free: 7.793 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002613/0.3302, allocations: 2.207 MB / 0.5915 GB, free: 5.578 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005144/0.3308, allocations: 308 kB / 0.5918 GB, free: 5.277 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001645/0.3324, allocations: 0.9128 MB / 0.5927 GB, free: 4.363 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001716/0.3341, allocations: 1.901 MB / 0.5946 GB, free: 2.457 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001756/0.3359, allocations: 1.61 MB / 0.5961 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008136/0.344, allocations: 7.343 MB / 0.6033 GB, free: 9.465 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.344, allocations: 0 / 0.6033 GB, free: 9.465 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.344, allocations: 0 / 0.6033 GB, free: 9.465 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001267/0.3442, allocations: 0 / 0.6033 GB, free: 9.465 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.009059/0.3532, allocations: 4.934 MB / 0.6081 GB, free: 4.473 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3533, allocations: 15.97 kB / 0.6081 GB, free: 4.457 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01101/0.3643, allocations: 3.168 MB / 0.6112 GB, free: 1.281 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005253/0.3695, allocations: 2.125 MB / 0.6133 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002333/0.3697, allocations: 246.1 kB / 0.6135 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007181/0.3705, allocations: 311.9 kB / 0.6138 GB, free: 14.58 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01891/0.3894, allocations: 12.08 MB / 0.6256 GB, free: 1.957 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001006/0.3895, allocations: 39.7 kB / 0.6257 GB, free: 1.918 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004401/0.3899, allocations: 147.8 kB / 0.6258 GB, free: 1.773 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004993/0.3949, allocations: 2.835 MB / 0.6286 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03115/0.4261, allocations: 11.32 MB / 0.6396 GB, free: 3.59 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07457/0.5006, allocations: 37.88 MB / 0.6766 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01153/0.5121, allocations: 4.899 MB / 0.6814 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003953/0.5161, allocations: 2.769 MB / 0.6841 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001308/0.5174, allocations: 0.5519 MB / 0.6846 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.597e-05/0.5175, allocations: 56.56 kB / 0.6847 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=262): time 5.5e-06/0.5175, allocations: 0 / 0.6847 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of matching and sorting (n=283): time 0.04997/0.5674, allocations: 20.02 MB / 0.7043 GB, free: 304 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/0.5675, allocations: 77.41 kB / 0.7043 GB, free: 216 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00416/0.5717, allocations: 2.93 MB / 0.7072 GB, free: 13.26 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004299/0.5721, allocations: 61.7 kB / 0.7072 GB, free: 13.19 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002866/0.575, allocations: 3.135 MB / 0.7103 GB, free: 10.03 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001518/0.5765, allocations: 1.069 MB / 0.7114 GB, free: 8.949 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001837/0.5783, allocations: 1.203 MB / 0.7125 GB, free: 7.734 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.5785, allocations: 301.1 kB / 0.7128 GB, free: 7.438 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004345/0.5828, allocations: 2.854 MB / 0.7156 GB, free: 4.578 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007062/0.5899, allocations: 6.03 MB / 0.7215 GB, free: 13 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01305/0.6029, allocations: 9.677 MB / 0.7309 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.839e-05/0.603, allocations: 32 kB / 0.731 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of matching and sorting (n=792) (initialization): time 0.2682/0.8712, allocations: 10.03 MB / 0.7408 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.718e-05/0.8713, allocations: 52.62 kB / 0.7408 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.38e-05/0.8714, allocations: 107 kB / 0.7409 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00325/0.8746, allocations: 1.363 MB / 0.7423 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004028/0.8786, allocations: 1.377 MB / 0.7436 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007859/0.8865, allocations: 7.594 MB / 0.751 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00407/0.8906, allocations: 363.5 kB / 0.7514 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005013/0.8911, allocations: 343.4 kB / 0.7517 GB, free: 144.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 501 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (722): * Single equations (assignments): 715 * Array equations: 6 * 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 {(3,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002902/0.894, allocations: 2.302 MB / 0.7539 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004238/0.8944, allocations: 297.8 kB / 0.7542 GB, free: 142.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008679/0.9031, allocations: 6.599 MB / 0.7607 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.714e-05/0.9031, allocations: 47.98 kB / 0.7607 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.9031, allocations: 11.94 kB / 0.7607 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.707e-05/0.9031, allocations: 11.95 kB / 0.7607 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01629/0.9194, allocations: 12.25 MB / 0.7727 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/0.9195, allocations: 9.172 kB / 0.7727 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001789/0.9212, allocations: 455.3 kB / 0.7731 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002886/0.9241, allocations: 1.217 MB / 0.7743 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001793/0.9243, allocations: 51.98 kB / 0.7744 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006475/0.9308, allocations: 6.82 MB / 0.781 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.9308, allocations: 11.94 kB / 0.781 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01045/0.9412, allocations: 9.832 MB / 0.7906 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004689/0.9417, allocations: 261 kB / 0.7909 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003821/0.9421, allocations: 59.66 kB / 0.791 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/0.9435, allocations: 187.7 kB / 0.7911 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003597/0.9438, allocations: 177.4 kB / 0.7913 GB, free: 105.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001808/0.944, allocations: 72 kB / 0.7914 GB, free: 105.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001812/0.9458, allocations: 1.66 MB / 0.793 GB, free: 104 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.9458, allocations: 0 / 0.793 GB, free: 104 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003605/0.9494, allocations: 1.102 MB / 0.7941 GB, free: 102.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (218): * Single equations (assignments): 211 * Array equations: 6 * 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,16,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004205/0.9498, allocations: 199.5 kB / 0.7943 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007216/0.9571, allocations: 6.683 MB / 0.8008 GB, free: 96.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.9571, allocations: 0 / 0.8008 GB, free: 96.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002844/0.9599, allocations: 2.656 MB / 0.8034 GB, free: 93.35 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/0.9615, allocations: 320.2 kB / 0.8037 GB, free: 93.04 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01316/0.9746, allocations: 11.58 MB / 0.815 GB, free: 81.37 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002673/0.9773, allocations: 3.045 MB / 0.818 GB, free: 78.29 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003553/0.9809, allocations: 2.166 MB / 0.8201 GB, free: 76.11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007243/0.9816, allocations: 227.4 kB / 0.8203 GB, free: 75.89 MB / 0.5606 GB Notification: Performance of SimCode: time 9.92e-07/0.9816, allocations: 0 / 0.8203 GB, free: 75.89 MB / 0.5606 GB Notification: Performance of Templates: time 0.05485/1.036, allocations: 41.46 MB / 0.8608 GB, free: 34.85 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.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: 6.9434066339890705]