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.001769/0.001769, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.002167/0.002167, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.475/1.475, allocations: 230.2 MB / 257.8 MB, free: 8.496 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.2277/0.2277, allocations: 46.89 MB / 361.1 MB, free: 4.648 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.002318/0.002318, allocations: 75.88 kB / 0.4968 GB, free: 7.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2997, allocations: 65.99 MB / 0.5612 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01586/0.3155, allocations: 13.53 MB / 0.5744 GB, free: 7.406 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008852/0.3244, allocations: 4.26 MB / 0.5786 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001676/0.326, allocations: 71.81 kB / 0.5787 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003984/0.33, allocations: 1.985 MB / 0.5806 GB, free: 1.066 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004438/0.3345, allocations: 1.946 MB / 0.5825 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.3358, allocations: 0.5537 MB / 0.583 GB, free: 14.56 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005407/0.3412, allocations: 4.042 MB / 0.587 GB, free: 10.51 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0028/0.344, allocations: 2.193 MB / 0.5891 GB, free: 8.266 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002037/0.3461, allocations: 1.44 MB / 0.5905 GB, free: 6.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003319/0.3494, allocations: 2.204 MB / 0.5927 GB, free: 4.609 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006126/0.35, allocations: 308 kB / 0.593 GB, free: 4.309 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001923/0.3519, allocations: 1.038 MB / 0.594 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001815/0.3538, allocations: 1.897 MB / 0.5958 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002321/0.3561, allocations: 2.236 MB / 0.598 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008626/0.3647, allocations: 7.309 MB / 0.6052 GB, free: 7.777 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3647, allocations: 4 kB / 0.6052 GB, free: 7.773 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3647, allocations: 0 / 0.6052 GB, free: 7.773 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001598/0.3649, allocations: 0 / 0.6052 GB, free: 7.773 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.01/0.3749, allocations: 5.009 MB / 0.6101 GB, free: 2.688 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.3749, allocations: 8.031 kB / 0.6101 GB, free: 2.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01164/0.3866, allocations: 3.172 MB / 0.6132 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005373/0.3919, allocations: 2.177 MB / 0.6153 GB, free: 13.27 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002208/0.3921, allocations: 234.2 kB / 0.6155 GB, free: 13.04 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000811/0.393, allocations: 319.9 kB / 0.6158 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02157/0.4145, allocations: 12.08 MB / 0.6276 GB, free: 112 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001303/0.4147, allocations: 39.7 kB / 0.6276 GB, free: 72 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005109/0.4152, allocations: 147.9 kB / 0.6278 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005325/0.4205, allocations: 2.835 MB / 0.6306 GB, free: 13.08 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02148/0.442, allocations: 11.36 MB / 0.6416 GB, free: 1.707 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06301/0.505, allocations: 41.12 MB / 0.6818 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01255/0.5175, allocations: 5.82 MB / 0.6875 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004285/0.5218, allocations: 2.763 MB / 0.6902 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002076/0.5239, allocations: 1.88 MB / 0.692 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.133e-05/0.5239, allocations: 56.56 kB / 0.6921 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=262): time 4.668e-06/0.5239, allocations: 0 / 0.6921 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=283): time 0.0538/0.5777, allocations: 20.19 MB / 0.7118 GB, free: 8.121 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.538e-05/0.5778, allocations: 77.41 kB / 0.7119 GB, free: 8.035 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004615/0.5824, allocations: 3.035 MB / 0.7148 GB, free: 4.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003622/0.5828, allocations: 61.7 kB / 0.7149 GB, free: 4.914 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00242/0.5852, allocations: 3.108 MB / 0.7179 GB, free: 1.777 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001325/0.5865, allocations: 1.062 MB / 0.719 GB, free: 0.707 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001836/0.5884, allocations: 1.207 MB / 0.7201 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.5885, allocations: 301.1 kB / 0.7204 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004475/0.593, allocations: 2.858 MB / 0.7232 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007166/0.6002, allocations: 6.03 MB / 0.7291 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2725/0.8726, allocations: 9.673 MB / 0.7385 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.218e-05/0.8727, allocations: 35.22 kB / 0.7386 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=792) (initialization): time 0.01459/0.8873, allocations: 10.04 MB / 0.7484 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.648e-05/0.8874, allocations: 57.53 kB / 0.7484 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-05/0.8874, allocations: 107.7 kB / 0.7485 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003294/0.8907, allocations: 1.362 MB / 0.7499 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004061/0.8948, allocations: 1.374 MB / 0.7512 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007947/0.9027, allocations: 7.81 MB / 0.7588 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003819/0.9066, allocations: 364.5 kB / 0.7592 GB, free: 137.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004851/0.9071, allocations: 347.3 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.002711/0.9098, allocations: 2.3 MB / 0.7618 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004182/0.9102, allocations: 323.4 kB / 0.7621 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009132/0.9193, allocations: 6.605 MB / 0.7685 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.915e-05/0.9194, allocations: 55.92 kB / 0.7686 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.9194, allocations: 5.688 kB / 0.7686 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.016e-05/0.9194, allocations: 11.95 kB / 0.7686 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02518/0.9446, allocations: 13.87 MB / 0.7821 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.035e-05/0.9446, allocations: 4.688 kB / 0.7821 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003345/0.948, allocations: 455.3 kB / 0.7826 GB, free: 115 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005114/0.9531, allocations: 1.215 MB / 0.7838 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005274/0.9536, allocations: 55.92 kB / 0.7838 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01322/0.9668, allocations: 7.011 MB / 0.7907 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/0.9668, allocations: 19.97 kB / 0.7907 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0221/0.9889, allocations: 9.863 MB / 0.8003 GB, free: 96.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/0.9899, allocations: 371 kB / 0.8007 GB, free: 96.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008198/0.9907, allocations: 51.66 kB / 0.8007 GB, free: 96.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003002/0.9937, allocations: 191.7 kB / 0.8009 GB, free: 96.06 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006361/0.9944, allocations: 165.7 kB / 0.8011 GB, free: 95.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003213/0.9947, allocations: 75.98 kB / 0.8011 GB, free: 95.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003787/0.9985, allocations: 1.87 MB / 0.803 GB, free: 93.95 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9985, allocations: 0 / 0.803 GB, free: 93.95 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007919/1.006, allocations: 1.105 MB / 0.804 GB, free: 92.85 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.0007152/1.007, allocations: 199.6 kB / 0.8042 GB, free: 92.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01486/1.022, allocations: 6.691 MB / 0.8108 GB, free: 85.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/1.022, allocations: 0 / 0.8108 GB, free: 85.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006103/1.028, allocations: 2.648 MB / 0.8134 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.003563/1.032, allocations: 421.7 kB / 0.8138 GB, free: 82.92 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02521/1.057, allocations: 11.61 MB / 0.8251 GB, free: 71.21 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005176/1.062, allocations: 3.574 MB / 0.8286 GB, free: 67.61 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00822/1.07, allocations: 2.2 MB / 0.8307 GB, free: 65.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001608/1.072, allocations: 247.4 kB / 0.831 GB, free: 65.16 MB / 0.5606 GB Notification: Performance of SimCode: time 1.303e-06/1.072, allocations: 0 / 0.831 GB, free: 65.16 MB / 0.5606 GB Notification: Performance of Templates: time 0.08351/1.155, allocations: 41.58 MB / 0.8716 GB, free: 23.77 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 gbode -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: 7.209791289176792]