Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 94.8 kB / 17.35 MB, free: 6.344 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.001373/0.001373, allocations: 170.2 kB / 18.25 MB, free: 5.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2125/0.2125, allocations: 44.25 MB / 337.7 MB, free: 2.453 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003114/0.0003114, allocations: 8 kB / 410.3 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1298, allocations: 61.93 MB / 472.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.02754/0.1574, allocations: 28.77 MB / 0.4893 GB, free: 464 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01448/0.1719, allocations: 6.773 MB / 0.4959 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004316/0.1763, allocations: 119.7 kB / 0.496 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001537/0.1778, allocations: 434.1 kB / 0.4964 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004529/0.1824, allocations: 1.651 MB / 0.498 GB, free: 7.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.1838, allocations: 447.3 kB / 0.4985 GB, free: 7.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007761/0.1916, allocations: 5.016 MB / 0.5034 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2317/0.4233, allocations: 2.432 MB / 0.5057 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00354/0.4269, allocations: 0.96 MB / 0.5067 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004537/0.4315, allocations: 1.705 MB / 0.5083 GB, free: 12.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001075/0.4326, allocations: 130.4 kB / 0.5085 GB, free: 12.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003156/0.4357, allocations: 0.9099 MB / 0.5094 GB, free: 12.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002738/0.4385, allocations: 1.504 MB / 0.5108 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002882/0.4414, allocations: 1.805 MB / 0.5126 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01037/0.4518, allocations: 5.773 MB / 0.5182 GB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4519, allocations: 2.766 kB / 0.5182 GB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4519, allocations: 0 / 0.5182 GB, free: 10.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002181/0.4521, allocations: 1.656 kB / 0.5182 GB, free: 10.46 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01368/0.4658, allocations: 3.398 MB / 0.5215 GB, free: 8.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.153e-05/0.4659, allocations: 10.19 kB / 0.5216 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02218/0.4881, allocations: 3.167 MB / 0.5246 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006916/0.495, allocations: 1.89 MB / 0.5265 GB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002473/0.4953, allocations: 191 kB / 0.5267 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001496/0.4968, allocations: 248.7 kB / 0.5269 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02609/0.5229, allocations: 10.5 MB / 0.5372 GB, free: 3.102 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002059/0.5232, allocations: 28.84 kB / 0.5372 GB, free: 3.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001264/0.5245, allocations: 119.8 kB / 0.5373 GB, free: 3.051 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0043/0.5288, allocations: 2.552 MB / 0.5398 GB, free: 2.066 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02125/0.5501, allocations: 9.927 MB / 0.5495 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06128/0.6114, allocations: 34.47 MB / 0.5832 GB, free: 6.414 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01083/0.6223, allocations: 5.18 MB / 0.5882 GB, free: 1.016 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003681/0.626, allocations: 2.299 MB / 0.5905 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001804/0.6278, allocations: 1.876 MB / 0.5923 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.81e-05/0.6279, allocations: 56.69 kB / 0.5923 GB, free: 12.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 9.719e-06/0.6279, allocations: 3.984 kB / 0.5923 GB, free: 12.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=235): time 0.03965/0.6676, allocations: 13.96 MB / 0.606 GB, free: 14.45 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.6677, allocations: 69.41 kB / 0.6061 GB, free: 14.38 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005921/0.6736, allocations: 2.635 MB / 0.6086 GB, free: 11.72 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003892/0.674, allocations: 61.7 kB / 0.6087 GB, free: 11.65 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002391/0.6764, allocations: 2.634 MB / 0.6113 GB, free: 9.016 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001243/0.6777, allocations: 0.852 MB / 0.6121 GB, free: 8.172 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001312/0.679, allocations: 461.6 kB / 0.6125 GB, free: 7.715 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.6792, allocations: 305.1 kB / 0.6128 GB, free: 7.414 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004034/0.6832, allocations: 2.204 MB / 0.615 GB, free: 5.203 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006359/0.6896, allocations: 5.076 MB / 0.6199 GB, free: 14.77 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01083/0.7004, allocations: 7.971 MB / 0.6277 GB, free: 5.809 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001196/0.7006, allocations: 28 kB / 0.6277 GB, free: 5.781 MB / 478.1 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01682/0.7174, allocations: 7.893 MB / 0.6354 GB, free: 14.47 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001331/0.7176, allocations: 48.19 kB / 0.6355 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000204/0.7178, allocations: 100 kB / 0.6356 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002374/0.7202, allocations: 0.7889 MB / 0.6364 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00428/0.7245, allocations: 1.189 MB / 0.6375 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00596/0.7305, allocations: 4.199 MB / 0.6416 GB, free: 8.133 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004128/0.7346, allocations: 302.7 kB / 0.6419 GB, free: 7.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001224/0.7359, allocations: 296 kB / 0.6422 GB, free: 7.551 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.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 (635): * Single equations (assignments): 628 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006433/0.7423, allocations: 2.028 MB / 0.6442 GB, free: 5.516 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000984/0.7433, allocations: 260.6 kB / 0.6444 GB, free: 5.258 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01029/0.7536, allocations: 4.725 MB / 0.649 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.164e-05/0.7538, allocations: 44 kB / 0.6491 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.976e-05/0.7538, allocations: 0 / 0.6491 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.999e-05/0.7538, allocations: 11.95 kB / 0.6491 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02454/0.7784, allocations: 10.53 MB / 0.6594 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.603e-05/0.7785, allocations: 4 kB / 0.6594 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001997/0.7805, allocations: 363.4 kB / 0.6597 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002247/0.7828, allocations: 0.6566 MB / 0.6604 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003775/0.7832, allocations: 40 kB / 0.6604 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005294/0.7885, allocations: 3.667 MB / 0.664 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.166e-06/0.7885, allocations: 8.062 kB / 0.664 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01165/0.8002, allocations: 7.142 MB / 0.671 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/0.8014, allocations: 313.5 kB / 0.6713 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009845/0.8024, allocations: 40 kB / 0.6713 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001992/0.8044, allocations: 142.9 kB / 0.6714 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004815/0.8049, allocations: 140.8 kB / 0.6716 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002481/0.8051, allocations: 64 kB / 0.6716 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004932/0.8101, allocations: 1.627 MB / 0.6732 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.61e-07/0.8101, allocations: 0 / 0.6732 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007563/0.8177, allocations: 0.9321 MB / 0.6741 GB, free: 6.418 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.w) * 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 (178): * Single equations (assignments): 171 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008388/0.8185, allocations: 174.6 kB / 0.6743 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009811/0.8284, allocations: 5.349 MB / 0.6795 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/0.8284, allocations: 0 / 0.6795 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00329/0.8317, allocations: 2.019 MB / 0.6815 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005625/0.8374, allocations: 350.3 kB / 0.6818 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02511/0.8625, allocations: 11.52 MB / 0.6931 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006651/0.8692, allocations: 3.172 MB / 0.6962 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006503/0.8758, allocations: 1.953 MB / 0.6981 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001791/0.8776, allocations: 199.4 kB / 0.6983 GB, free: 13.55 MB / 0.545 GB Notification: Performance of SimCode: time 2.625e-06/0.8777, allocations: 0 / 0.6983 GB, free: 13.55 MB / 0.545 GB Notification: Performance of Templates: time 0.3222/1.2, allocations: 29.29 MB / 0.7269 GB, free: 202.1 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches