Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal") translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 111.2 kB / 17.04 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 195 kB / 17.97 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2174/0.2174, allocations: 43.51 MB / 314.7 MB, free: 500 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 66.09 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1124, allocations: 57.79 MB / 442 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01342/0.1259, allocations: 14.21 MB / 456.2 MB, free: 7.887 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00926/0.1352, allocations: 4.284 MB / 460.5 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002242/0.1375, allocations: 71.81 kB / 460.5 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003451/0.141, allocations: 1.974 MB / 462.5 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004058/0.1451, allocations: 1.911 MB / 464.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.1463, allocations: 0.5575 MB / 465 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004468/0.1508, allocations: 4.088 MB / 469.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003078/0.1538, allocations: 2.885 MB / 472 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002672/0.1565, allocations: 1.467 MB / 473.4 MB, free: 6.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00263/0.1592, allocations: 2.032 MB / 475.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008121/0.16, allocations: 312 kB / 475.8 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001995/0.162, allocations: 1.014 MB / 476.8 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001725/0.1638, allocations: 1.886 MB / 478.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002596/0.1664, allocations: 2.267 MB / 480.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008498/0.1749, allocations: 7.364 MB / 488.3 MB, free: 7.633 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.1749, allocations: 0 / 488.3 MB, free: 7.633 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.175, allocations: 0 / 488.3 MB, free: 7.633 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002167/0.1752, allocations: 0 / 488.3 MB, free: 7.633 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.01055/0.1857, allocations: 4.92 MB / 493.2 MB, free: 2.645 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/0.1858, allocations: 11.89 kB / 493.2 MB, free: 2.633 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01036/0.1962, allocations: 3.137 MB / 496.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006589/0.2028, allocations: 2.266 MB / 498.6 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002135/0.203, allocations: 238.3 kB / 498.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008866/0.2039, allocations: 315.8 kB / 499.2 MB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01889/0.2228, allocations: 12.09 MB / 0.4993 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001073/0.223, allocations: 27.86 kB / 0.4993 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003889/0.2234, allocations: 151.8 kB / 0.4995 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004248/0.2276, allocations: 2.835 MB / 0.5022 GB, free: 12.99 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02043/0.2481, allocations: 11.38 MB / 0.5133 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3528/0.6009, allocations: 40.92 MB / 0.5533 GB, free: 58.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01271/0.6137, allocations: 6.074 MB / 0.5592 GB, free: 57.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00355/0.6173, allocations: 3.014 MB / 0.5622 GB, free: 55.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001394/0.6187, allocations: 1.882 MB / 0.564 GB, free: 54.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.6187, allocations: 59.75 kB / 0.5641 GB, free: 54.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=262): time 6.382e-06/0.6188, allocations: 5.25 kB / 0.5641 GB, free: 54.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=283): time 0.04389/0.6627, allocations: 20.13 MB / 0.5837 GB, free: 44.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.6627, allocations: 81.41 kB / 0.5838 GB, free: 44.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003771/0.6665, allocations: 3.058 MB / 0.5868 GB, free: 41.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003195/0.6669, allocations: 65.45 kB / 0.5869 GB, free: 41.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001369/0.6682, allocations: 3.003 MB / 0.5898 GB, free: 38.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007479/0.669, allocations: 1.024 MB / 0.5908 GB, free: 37.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001301/0.6703, allocations: 1.202 MB / 0.592 GB, free: 36.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.279e-05/0.6704, allocations: 305.1 kB / 0.5923 GB, free: 36.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003037/0.6734, allocations: 2.858 MB / 0.595 GB, free: 33.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004462/0.6779, allocations: 6.077 MB / 0.601 GB, free: 25.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008646/0.6865, allocations: 9.723 MB / 0.6105 GB, free: 14.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.465e-05/0.6867, allocations: 32 kB / 0.6105 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=798) (initialization): time 0.01501/0.7017, allocations: 10.08 MB / 0.6204 GB, free: 4.219 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.01e-05/0.7018, allocations: 53 kB / 0.6204 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001033/0.7019, allocations: 108 kB / 0.6205 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002996/0.7049, allocations: 1.366 MB / 0.6218 GB, free: 2.691 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004256/0.7092, allocations: 1.384 MB / 0.6232 GB, free: 1.305 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01062/0.7198, allocations: 7.811 MB / 0.6308 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00544/0.7253, allocations: 363.7 kB / 0.6312 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001223/0.7265, allocations: 348 kB / 0.6315 GB, free: 8.668 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 507 * Number of states: 0 () * Number of discrete variables: 30 (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 (728): * Single equations (assignments): 721 * 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.0066/0.7331, allocations: 2.318 MB / 0.6338 GB, free: 6.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008118/0.734, allocations: 308 kB / 0.6341 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/0.7457, allocations: 6.627 MB / 0.6405 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.634e-05/0.7458, allocations: 41.02 kB / 0.6406 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.639e-05/0.7458, allocations: 4 kB / 0.6406 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.778e-05/0.7459, allocations: 15.95 kB / 0.6406 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0294/0.7753, allocations: 13.99 MB / 0.6543 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-05/0.7753, allocations: 7.984 kB / 0.6543 GB, free: 1.168 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002217/0.7775, allocations: 455.3 kB / 0.6547 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003332/0.7809, allocations: 1.213 MB / 0.6559 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005261/0.7814, allocations: 52 kB / 0.6559 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009431/0.7909, allocations: 6.968 MB / 0.6627 GB, free: 8.355 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.457e-05/0.791, allocations: 11.94 kB / 0.6627 GB, free: 8.344 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01594/0.8069, allocations: 9.863 MB / 0.6724 GB, free: 14.31 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003389/0.8104, allocations: 0.8133 MB / 0.6732 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008747/0.8113, allocations: 63.2 kB / 0.6732 GB, free: 13.42 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001939/0.8132, allocations: 191.5 kB / 0.6734 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000501/0.8138, allocations: 165.5 kB / 0.6736 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002212/0.814, allocations: 79.98 kB / 0.6736 GB, free: 13 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003959/0.818, allocations: 1.887 MB / 0.6755 GB, free: 11.11 MB / 478.1 MB Notification: Performance of sort global known variables: time 3e-07/0.818, allocations: 0 / 0.6755 GB, free: 11.11 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008327/0.8263, allocations: 1.139 MB / 0.6766 GB, free: 9.977 MB / 478.1 MB 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.0009287/0.8273, allocations: 193 kB / 0.6768 GB, free: 9.785 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01243/0.8397, allocations: 7.002 MB / 0.6836 GB, free: 2.785 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/0.8398, allocations: 5.875 kB / 0.6836 GB, free: 2.781 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00441/0.8442, allocations: 2.852 MB / 0.6864 GB, free: 15.92 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002676/0.8469, allocations: 415.7 kB / 0.6868 GB, free: 15.53 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02372/0.8707, allocations: 11.35 MB / 0.6979 GB, free: 4.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004964/0.8757, allocations: 3.588 MB / 0.7014 GB, free: 492 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005164/0.8809, allocations: 2.207 MB / 0.7036 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009616/0.8819, allocations: 243.4 kB / 0.7038 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of SimCode: time 1.383e-06/0.8819, allocations: 0 / 0.7038 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of Templates: time 0.404/1.286, allocations: 37.49 MB / 0.7404 GB, free: 156.8 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches