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.001301/0.001301, 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.001427/0.001427, 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.418/1.418, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2194/0.2194, allocations: 46.96 MB / 361.6 MB, free: 4.039 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.002135/0.002135, allocations: 67.89 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3463, allocations: 66.03 MB / 0.5618 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01499/0.3613, allocations: 11.72 MB / 0.5733 GB, free: 8.391 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009448/0.3707, allocations: 4.026 MB / 0.5772 GB, free: 4.352 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002395/0.3731, allocations: 79.69 kB / 0.5773 GB, free: 4.273 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004503/0.3776, allocations: 1.927 MB / 0.5792 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006584/0.3842, allocations: 1.958 MB / 0.5811 GB, free: 384 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002182/0.3864, allocations: 0.5575 MB / 0.5816 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00696/0.3934, allocations: 4.042 MB / 0.5856 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003141/0.3965, allocations: 2.419 MB / 0.5879 GB, free: 9.293 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002323/0.3988, allocations: 1.468 MB / 0.5894 GB, free: 7.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003373/0.4022, allocations: 2.204 MB / 0.5915 GB, free: 5.609 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007711/0.403, allocations: 311.9 kB / 0.5918 GB, free: 5.305 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001998/0.405, allocations: 0.9167 MB / 0.5927 GB, free: 4.387 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002117/0.4071, allocations: 1.901 MB / 0.5946 GB, free: 2.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002481/0.4096, allocations: 1.603 MB / 0.5961 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01025/0.4198, allocations: 7.351 MB / 0.6033 GB, free: 9.488 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.4198, allocations: 0 / 0.6033 GB, free: 9.488 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.25e-06/0.4198, allocations: 4 kB / 0.6033 GB, free: 9.484 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003119/0.4201, allocations: 0 / 0.6033 GB, free: 9.484 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.01265/0.4328, allocations: 4.934 MB / 0.6081 GB, free: 4.492 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.4328, allocations: 12.03 kB / 0.6081 GB, free: 4.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01112/0.444, allocations: 3.164 MB / 0.6112 GB, free: 1.309 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006592/0.4506, allocations: 2.133 MB / 0.6133 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003018/0.4509, allocations: 238.2 kB / 0.6135 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001341/0.4522, allocations: 315.9 kB / 0.6138 GB, free: 14.6 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02244/0.4746, allocations: 12.08 MB / 0.6256 GB, free: 1.977 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001291/0.4748, allocations: 35.69 kB / 0.6257 GB, free: 1.941 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004663/0.4752, allocations: 143.8 kB / 0.6258 GB, free: 1.801 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005033/0.4803, allocations: 2.835 MB / 0.6286 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02312/0.5034, allocations: 11.32 MB / 0.6396 GB, free: 3.617 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06419/0.5676, allocations: 37.89 MB / 0.6766 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01144/0.579, allocations: 4.891 MB / 0.6814 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004207/0.5832, allocations: 2.773 MB / 0.6841 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001243/0.5845, allocations: 0.5519 MB / 0.6847 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.848e-05/0.5845, allocations: 52.56 kB / 0.6847 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=262): time 5.951e-06/0.5845, allocations: 0 / 0.6847 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of matching and sorting (n=283): time 0.05025/0.6348, allocations: 20.01 MB / 0.7042 GB, free: 332 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.249e-05/0.6349, allocations: 81.41 kB / 0.7043 GB, free: 240 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004196/0.6391, allocations: 2.934 MB / 0.7072 GB, free: 13.28 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004619/0.6395, allocations: 61.7 kB / 0.7073 GB, free: 13.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002329/0.6418, allocations: 3.135 MB / 0.7103 GB, free: 10.05 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001383/0.6432, allocations: 1.066 MB / 0.7114 GB, free: 8.973 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001846/0.6451, allocations: 1.207 MB / 0.7125 GB, free: 7.754 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.6452, allocations: 301.1 kB / 0.7128 GB, free: 7.457 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00494/0.6502, allocations: 2.85 MB / 0.7156 GB, free: 4.602 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007424/0.6576, allocations: 6.038 MB / 0.7215 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01328/0.6709, allocations: 9.677 MB / 0.7309 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001098/0.671, allocations: 32 kB / 0.731 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of matching and sorting (n=792) (initialization): time 0.3439/1.015, allocations: 10.02 MB / 0.7408 GB, free: 150 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.836e-05/1.015, allocations: 54.84 kB / 0.7408 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001158/1.015, allocations: 109.2 kB / 0.7409 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003216/1.018, allocations: 1.367 MB / 0.7423 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004473/1.023, allocations: 1.373 MB / 0.7436 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008407/1.031, allocations: 7.594 MB / 0.751 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003991/1.035, allocations: 366.6 kB / 0.7514 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006099/1.036, allocations: 347.3 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.003167/1.039, allocations: 2.299 MB / 0.7539 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004806/1.039, allocations: 297.8 kB / 0.7542 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008654/1.048, allocations: 6.6 MB / 0.7607 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.957e-05/1.048, allocations: 47.98 kB / 0.7607 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/1.048, allocations: 7.938 kB / 0.7607 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.04e-05/1.048, allocations: 11.95 kB / 0.7607 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01737/1.066, allocations: 12.25 MB / 0.7727 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/1.066, allocations: 8 kB / 0.7727 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001749/1.067, allocations: 455.3 kB / 0.7731 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002783/1.07, allocations: 1.211 MB / 0.7743 GB, free: 123.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001893/1.07, allocations: 58.33 kB / 0.7744 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006553/1.077, allocations: 6.816 MB / 0.781 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/1.077, allocations: 19.97 kB / 0.781 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0112/1.088, allocations: 9.834 MB / 0.7906 GB, free: 106.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008357/1.089, allocations: 270.1 kB / 0.7909 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003907/1.089, allocations: 50.72 kB / 0.791 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/1.091, allocations: 191.7 kB / 0.7911 GB, free: 106 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004169/1.091, allocations: 169.5 kB / 0.7913 GB, free: 105.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001864/1.091, allocations: 83.81 kB / 0.7914 GB, free: 105.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001992/1.093, allocations: 1.66 MB / 0.793 GB, free: 104 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.093, allocations: 0 / 0.793 GB, free: 104 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004041/1.097, allocations: 1.098 MB / 0.7941 GB, free: 103 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.000437/1.098, allocations: 193.2 kB / 0.7943 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007463/1.105, allocations: 6.687 MB / 0.8008 GB, free: 96.08 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/1.105, allocations: 0 / 0.8008 GB, free: 96.08 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002868/1.108, allocations: 2.653 MB / 0.8034 GB, free: 93.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/1.11, allocations: 320.3 kB / 0.8037 GB, free: 93.11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/1.123, allocations: 11.58 MB / 0.815 GB, free: 81.43 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002816/1.126, allocations: 3.041 MB / 0.818 GB, free: 78.35 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003769/1.129, allocations: 2.162 MB / 0.8201 GB, free: 76.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007279/1.13, allocations: 231.4 kB / 0.8203 GB, free: 75.96 MB / 0.5606 GB Notification: Performance of SimCode: time 1.193e-06/1.13, allocations: 0 / 0.8203 GB, free: 75.96 MB / 0.5606 GB Notification: Performance of Templates: time 0.06047/1.191, allocations: 41.46 MB / 0.8608 GB, free: 34.91 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 cvode -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.905093263005256]