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.0008029/0.0008026, allocations: 93.64 kB / 18.01 MB, free: 5.734 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.0008818/0.0008819, allocations: 177.6 kB / 18.91 MB, free: 4.871 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.342/1.342, allocations: 223.3 MB / 242.9 MB, free: 48 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2055/0.2055, allocations: 44.25 MB / 338.3 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003651, allocations: 12 kB / 411 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1027, allocations: 61.92 MB / 472.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.02673/0.1294, allocations: 28.77 MB / 0.4899 GB, free: 496 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01438/0.1439, allocations: 6.777 MB / 0.4965 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005226/0.1491, allocations: 119.7 kB / 0.4967 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001365/0.1505, allocations: 434.1 kB / 0.4971 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004309/0.1549, allocations: 1.655 MB / 0.4987 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.1562, allocations: 451.3 kB / 0.4991 GB, free: 7.039 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005694/0.1619, allocations: 5.013 MB / 0.504 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2212/0.3831, allocations: 2.426 MB / 0.5064 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002582/0.3857, allocations: 0.9566 MB / 0.5073 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003539/0.3893, allocations: 1.703 MB / 0.509 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001118/0.3904, allocations: 131.8 kB / 0.5091 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002899/0.3933, allocations: 0.9139 MB / 0.51 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003349/0.3967, allocations: 1.505 MB / 0.5115 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003835/0.4006, allocations: 1.807 MB / 0.5132 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006916/0.4075, allocations: 4.716 MB / 0.5178 GB, free: 10.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.4075, allocations: 0 / 0.5178 GB, free: 10.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4076, allocations: 1.438 kB / 0.5178 GB, free: 10.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002598/0.4078, allocations: 0 / 0.5178 GB, free: 10.44 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.009436/0.4173, allocations: 3.401 MB / 0.5212 GB, free: 8.711 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.4173, allocations: 9.094 kB / 0.5212 GB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01152/0.4289, allocations: 3.169 MB / 0.5243 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00467/0.4336, allocations: 1.886 MB / 0.5261 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002458/0.4339, allocations: 187 kB / 0.5263 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001422/0.4353, allocations: 250.5 kB / 0.5265 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01763/0.4529, allocations: 10.5 MB / 0.5368 GB, free: 3.676 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-05/0.4531, allocations: 26.72 kB / 0.5368 GB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004614/0.4536, allocations: 121.4 kB / 0.5369 GB, free: 3.629 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003845/0.4574, allocations: 2.555 MB / 0.5394 GB, free: 2.641 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01951/0.4769, allocations: 9.926 MB / 0.5491 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05397/0.531, allocations: 34.48 MB / 0.5828 GB, free: 7.285 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009604/0.5406, allocations: 5.188 MB / 0.5878 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003335/0.544, allocations: 2.295 MB / 0.5901 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001641/0.5457, allocations: 1.876 MB / 0.5919 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.5458, allocations: 55.66 kB / 0.592 GB, free: 13.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 6.883e-06/0.5458, allocations: 0 / 0.592 GB, free: 13.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=235): time 0.03499/0.5808, allocations: 13.96 MB / 0.6056 GB, free: 15.33 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.5809, allocations: 69.41 kB / 0.6057 GB, free: 15.25 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003975/0.5849, allocations: 2.639 MB / 0.6082 GB, free: 12.59 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004305/0.5853, allocations: 58.25 kB / 0.6083 GB, free: 12.54 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001739/0.5871, allocations: 2.637 MB / 0.6109 GB, free: 9.895 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001154/0.5882, allocations: 0.854 MB / 0.6117 GB, free: 9.047 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007054/0.5889, allocations: 463.8 kB / 0.6121 GB, free: 8.59 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.5891, allocations: 301.1 kB / 0.6124 GB, free: 8.293 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003277/0.5923, allocations: 2.208 MB / 0.6146 GB, free: 6.078 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005388/0.5977, allocations: 5.07 MB / 0.6195 GB, free: 15.65 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009717/0.6075, allocations: 7.974 MB / 0.6273 GB, free: 6.684 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.052e-05/0.6076, allocations: 28 kB / 0.6274 GB, free: 6.656 MB / 478.1 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.0154/0.623, allocations: 7.885 MB / 0.6351 GB, free: 15.36 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.266e-05/0.6232, allocations: 52.25 kB / 0.6351 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001196/0.6233, allocations: 100 kB / 0.6352 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002323/0.6256, allocations: 0.785 MB / 0.636 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004404/0.63, allocations: 1.186 MB / 0.6371 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005876/0.636, allocations: 4.204 MB / 0.6412 GB, free: 9.039 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004218/0.6402, allocations: 295 kB / 0.6415 GB, free: 8.754 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009976/0.6413, allocations: 308 kB / 0.6418 GB, free: 8.453 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.004519/0.6458, allocations: 2.02 MB / 0.6438 GB, free: 6.422 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005162/0.6463, allocations: 256.6 kB / 0.644 GB, free: 6.168 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008251/0.6546, allocations: 4.732 MB / 0.6486 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.591e-05/0.6547, allocations: 46.8 kB / 0.6487 GB, free: 1.371 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.6547, allocations: 4 kB / 0.6487 GB, free: 1.367 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.419e-05/0.6547, allocations: 7.969 kB / 0.6487 GB, free: 1.359 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01806/0.6728, allocations: 10.53 MB / 0.659 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.291e-05/0.6729, allocations: 8 kB / 0.659 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001632/0.6745, allocations: 363.4 kB / 0.6593 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002091/0.6766, allocations: 0.6606 MB / 0.66 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002986/0.6769, allocations: 48 kB / 0.66 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004781/0.6817, allocations: 3.662 MB / 0.6636 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/0.6818, allocations: 11.94 kB / 0.6636 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01086/0.6926, allocations: 7.131 MB / 0.6706 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007873/0.6934, allocations: 317.6 kB / 0.6709 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005367/0.694, allocations: 40.06 kB / 0.6709 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/0.6953, allocations: 143.8 kB / 0.6711 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003252/0.6957, allocations: 132.9 kB / 0.6712 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001632/0.6958, allocations: 67.98 kB / 0.6713 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002659/0.6985, allocations: 1.623 MB / 0.6728 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6985, allocations: 0 / 0.6728 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004684/0.7032, allocations: 0.9327 MB / 0.6738 GB, free: 7.32 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.0005915/0.7038, allocations: 175.2 kB / 0.6739 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008384/0.7122, allocations: 5.349 MB / 0.6791 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.248e-05/0.7123, allocations: 7.938 kB / 0.6791 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00314/0.7154, allocations: 2.011 MB / 0.6811 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004542/0.72, allocations: 359 kB / 0.6815 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01953/0.7396, allocations: 11.95 MB / 0.6931 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004343/0.744, allocations: 3.172 MB / 0.6962 GB, free: 168 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/0.7452, allocations: 251.6 kB / 0.6965 GB, free: 15.91 MB / 0.545 GB Notification: Performance of SimCode: time 8.62e-07/0.7452, allocations: 0 / 0.6965 GB, free: 15.91 MB / 0.545 GB Notification: Performance of Templates: time 0.3136/1.059, allocations: 69.49 MB / 0.7643 GB, free: 165.9 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/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