Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001283/0.001283, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001463/0.001463, allocations: 206.2 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 230.2 MB / 257.8 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2349/0.2349, allocations: 46.9 MB / 361.1 MB, free: 4.637 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.MultiBody.Joints.Universal") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002406/0.002406, allocations: 80.05 kB / 0.4968 GB, free: 7.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3655, allocations: 65.99 MB / 0.5612 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01592/0.3814, allocations: 13.54 MB / 0.5744 GB, free: 7.402 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009777/0.3912, allocations: 4.251 MB / 0.5786 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002132/0.3933, allocations: 71.81 kB / 0.5786 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004083/0.3974, allocations: 2.001 MB / 0.5806 GB, free: 1.059 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005347/0.4027, allocations: 1.938 MB / 0.5825 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.4043, allocations: 0.5537 MB / 0.583 GB, free: 14.56 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006317/0.4106, allocations: 4.046 MB / 0.587 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003651/0.4142, allocations: 2.183 MB / 0.5891 GB, free: 8.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003462/0.4177, allocations: 1.444 MB / 0.5905 GB, free: 6.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004684/0.4224, allocations: 2.204 MB / 0.5927 GB, free: 4.609 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001188/0.4236, allocations: 304 kB / 0.593 GB, free: 4.312 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003057/0.4266, allocations: 1.049 MB / 0.594 GB, free: 3.262 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002311/0.4289, allocations: 1.893 MB / 0.5958 GB, free: 1.363 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003119/0.432, allocations: 2.232 MB / 0.598 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.4422, allocations: 7.313 MB / 0.6052 GB, free: 7.773 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.4422, allocations: 4 kB / 0.6052 GB, free: 7.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4422, allocations: 3.938 kB / 0.6052 GB, free: 7.766 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002454/0.4424, allocations: 0 / 0.6052 GB, free: 7.766 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.01129/0.4537, allocations: 5.009 MB / 0.6101 GB, free: 2.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/0.4538, allocations: 8.031 kB / 0.6101 GB, free: 2.672 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01166/0.4654, allocations: 3.16 MB / 0.6132 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006392/0.4718, allocations: 2.189 MB / 0.6153 GB, free: 13.26 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002391/0.4721, allocations: 234.2 kB / 0.6155 GB, free: 13.03 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007613/0.4728, allocations: 315.9 kB / 0.6158 GB, free: 12.72 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02124/0.4941, allocations: 12.07 MB / 0.6276 GB, free: 112 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001276/0.4942, allocations: 47.69 kB / 0.6276 GB, free: 64 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004987/0.4947, allocations: 147.9 kB / 0.6278 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005606/0.5003, allocations: 2.831 MB / 0.6306 GB, free: 13.08 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02522/0.5255, allocations: 11.36 MB / 0.6416 GB, free: 1.703 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07006/0.5956, allocations: 41.11 MB / 0.6818 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01244/0.608, allocations: 5.828 MB / 0.6875 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00427/0.6123, allocations: 2.756 MB / 0.6902 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002122/0.6144, allocations: 1.884 MB / 0.692 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.609e-05/0.6145, allocations: 57.12 kB / 0.6921 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=262): time 5.571e-06/0.6145, allocations: 0 / 0.6921 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=283): time 0.05344/0.6679, allocations: 20.19 MB / 0.7118 GB, free: 8.117 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.636e-05/0.668, allocations: 77.41 kB / 0.7119 GB, free: 8.031 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005205/0.6732, allocations: 3.031 MB / 0.7148 GB, free: 4.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000578/0.6738, allocations: 61.7 kB / 0.7149 GB, free: 4.914 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0026/0.6764, allocations: 3.104 MB / 0.7179 GB, free: 1.781 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001487/0.6779, allocations: 1.069 MB / 0.719 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001812/0.6797, allocations: 1.203 MB / 0.7201 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.6798, allocations: 301.1 kB / 0.7204 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004462/0.6843, allocations: 2.862 MB / 0.7232 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007467/0.6918, allocations: 6.026 MB / 0.7291 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3758/1.068, allocations: 9.67 MB / 0.7385 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001065/1.068, allocations: 38.62 kB / 0.7386 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=792) (initialization): time 0.01784/1.085, allocations: 10.04 MB / 0.7484 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.062e-05/1.086, allocations: 61.34 kB / 0.7484 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001352/1.086, allocations: 108.4 kB / 0.7485 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003518/1.089, allocations: 1.364 MB / 0.7499 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004907/1.094, allocations: 1.373 MB / 0.7512 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008701/1.103, allocations: 7.801 MB / 0.7588 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00467/1.107, allocations: 365.4 kB / 0.7592 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007241/1.108, allocations: 348.2 kB / 0.7595 GB, free: 137.5 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.00341/1.112, allocations: 2.298 MB / 0.7618 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007234/1.112, allocations: 326.8 kB / 0.7621 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008988/1.121, allocations: 6.615 MB / 0.7685 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.336e-05/1.121, allocations: 47.94 kB / 0.7686 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/1.121, allocations: 4 kB / 0.7686 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.092e-05/1.121, allocations: 11.95 kB / 0.7686 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01998/1.141, allocations: 13.86 MB / 0.7821 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/1.141, allocations: 14.78 kB / 0.7822 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001909/1.143, allocations: 447.3 kB / 0.7826 GB, free: 115 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002902/1.146, allocations: 1.217 MB / 0.7838 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002787/1.147, allocations: 60.97 kB / 0.7838 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006941/1.153, allocations: 7.015 MB / 0.7907 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.153, allocations: 8 kB / 0.7907 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0115/1.165, allocations: 9.868 MB / 0.8003 GB, free: 96.67 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008677/1.166, allocations: 374.1 kB / 0.8007 GB, free: 96.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004383/1.166, allocations: 47.98 kB / 0.8007 GB, free: 96.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/1.168, allocations: 195.6 kB / 0.8009 GB, free: 96.05 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003859/1.168, allocations: 161.7 kB / 0.8011 GB, free: 95.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001764/1.168, allocations: 72 kB / 0.8011 GB, free: 95.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002255/1.171, allocations: 1.87 MB / 0.803 GB, free: 93.95 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.171, allocations: 0 / 0.803 GB, free: 93.95 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004703/1.175, allocations: 1.113 MB / 0.804 GB, free: 92.84 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.0005233/1.176, allocations: 192.3 kB / 0.8042 GB, free: 92.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008645/1.184, allocations: 6.693 MB / 0.8108 GB, free: 85.97 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/1.184, allocations: 0 / 0.8108 GB, free: 85.97 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004871/1.189, allocations: 2.645 MB / 0.8133 GB, free: 83.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003506/1.193, allocations: 430.8 kB / 0.8138 GB, free: 82.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02465/1.218, allocations: 11.6 MB / 0.8251 GB, free: 71.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00502/1.223, allocations: 3.574 MB / 0.8286 GB, free: 67.59 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.006275/1.229, allocations: 2.203 MB / 0.8307 GB, free: 65.38 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001142/1.23, allocations: 247.3 kB / 0.831 GB, free: 65.14 MB / 0.5606 GB Notification: Performance of SimCode: time 1.483e-06/1.23, allocations: 0 / 0.831 GB, free: 65.14 MB / 0.5606 GB Notification: Performance of Templates: time 0.07797/1.308, allocations: 41.58 MB / 0.8716 GB, free: 23.76 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 8.049669365398586]