Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.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.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009364/0.0009362, allocations: 97.95 kB / 17 MB, free: 6.129 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.001235/0.001236, allocations: 182.5 kB / 17.89 MB, free: 5.711 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.472/1.472, allocations: 223.3 MB / 241.9 MB, free: 308 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.201/0.201, allocations: 44.24 MB / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002863/0.0002863, allocations: 11.09 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.125, allocations: 61.93 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.03328/0.1583, allocations: 34.3 MB / 0.494 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01795/0.1763, allocations: 7.772 MB / 0.5016 GB, free: 3.484 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007055/0.1834, allocations: 155.6 kB / 0.5018 GB, free: 3.332 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006822/0.1903, allocations: 1.668 MB / 0.5034 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2466/0.4369, allocations: 5.016 MB / 0.5083 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002018/0.4389, allocations: 473.7 kB / 0.5088 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006471/0.4454, allocations: 4.188 MB / 0.5128 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004806/0.4502, allocations: 3.034 MB / 0.5158 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002433/0.4527, allocations: 1.132 MB / 0.5169 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002992/0.4557, allocations: 1.838 MB / 0.5187 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004958/0.4562, allocations: 146.8 kB / 0.5189 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00178/0.458, allocations: 0.7872 MB / 0.5196 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001409/0.4594, allocations: 1.579 MB / 0.5212 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009813/0.4604, allocations: 0.8171 MB / 0.522 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004627/0.4651, allocations: 5.287 MB / 0.5271 GB, free: 8.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4651, allocations: 7.938 kB / 0.5271 GB, free: 8.961 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4651, allocations: 0 / 0.5271 GB, free: 8.961 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001957/0.4653, allocations: 0 / 0.5271 GB, free: 8.961 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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.007702/0.473, allocations: 3.774 MB / 0.5308 GB, free: 6.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.4731, allocations: 11.47 kB / 0.5308 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01003/0.4831, allocations: 3.197 MB / 0.5339 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005854/0.489, allocations: 2.103 MB / 0.536 GB, free: 4.207 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001614/0.4892, allocations: 225.6 kB / 0.5362 GB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009468/0.4902, allocations: 285.9 kB / 0.5365 GB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01662/0.5068, allocations: 11.1 MB / 0.5473 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.146e-05/0.5069, allocations: 30.22 kB / 0.5474 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003893/0.5073, allocations: 132.6 kB / 0.5475 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004078/0.5114, allocations: 2.626 MB / 0.55 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01919/0.5306, allocations: 10.33 MB / 0.5601 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05638/0.5871, allocations: 36.69 MB / 0.596 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00845/0.5956, allocations: 4.567 MB / 0.6004 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003337/0.5989, allocations: 2.396 MB / 0.6028 GB, free: 8.508 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001175/0.6001, allocations: 1.319 MB / 0.6041 GB, free: 6.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.6002, allocations: 52.56 kB / 0.6041 GB, free: 6.918 MB / 446.1 MB Notification: Performance of pre-optimization done (n=242): time 4.028e-06/0.6002, allocations: 0 / 0.6041 GB, free: 6.918 MB / 446.1 MB Notification: Performance of matching and sorting (n=254): time 0.03997/0.6402, allocations: 17.54 MB / 0.6212 GB, free: 5.332 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.6402, allocations: 73.41 kB / 0.6213 GB, free: 5.25 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004162/0.6444, allocations: 2.719 MB / 0.624 GB, free: 2.52 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000483/0.6449, allocations: 57.7 kB / 0.624 GB, free: 2.457 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002299/0.6473, allocations: 2.779 MB / 0.6267 GB, free: 15.68 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00133/0.6486, allocations: 0.9099 MB / 0.6276 GB, free: 14.78 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004844/0.6491, allocations: 108 kB / 0.6277 GB, free: 14.68 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0004779/0.6496, allocations: 0.5374 MB / 0.6282 GB, free: 14.13 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00405/0.6536, allocations: 2.294 MB / 0.6305 GB, free: 11.83 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006764/0.6604, allocations: 5.2 MB / 0.6356 GB, free: 5.219 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00591/0.6664, allocations: 3.45 MB / 0.6389 GB, free: 1.77 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.525e-05/0.6665, allocations: 32 kB / 0.639 GB, free: 1.738 MB / 478.1 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.0165/0.683, allocations: 8.251 MB / 0.647 GB, free: 9.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.6832, allocations: 49 kB / 0.6471 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001714/0.6833, allocations: 100 kB / 0.6472 GB, free: 9.336 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00271/0.6861, allocations: 0.9528 MB / 0.6481 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004554/0.6906, allocations: 1.22 MB / 0.6493 GB, free: 7.156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006916/0.6976, allocations: 4.808 MB / 0.654 GB, free: 2.223 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004555/0.7022, allocations: 299.9 kB / 0.6543 GB, free: 1.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/0.7034, allocations: 310.2 kB / 0.6546 GB, free: 1.629 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 35 (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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[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 (657): * Single equations (assignments): 650 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005966/0.7093, allocations: 2.16 MB / 0.6567 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008734/0.7102, allocations: 272.4 kB / 0.6569 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/0.7205, allocations: 5.109 MB / 0.6619 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-05/0.7206, allocations: 47.94 kB / 0.662 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.7206, allocations: 0 / 0.662 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.668e-05/0.7206, allocations: 15.95 kB / 0.662 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02459/0.7452, allocations: 11.88 MB / 0.6736 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.681e-05/0.7453, allocations: 8 kB / 0.6736 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001915/0.7472, allocations: 403.5 kB / 0.674 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00233/0.7496, allocations: 0.771 MB / 0.6747 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003395/0.75, allocations: 47.98 kB / 0.6748 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005858/0.7558, allocations: 4.092 MB / 0.6788 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.31e-05/0.7559, allocations: 15.94 kB / 0.6788 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01259/0.7685, allocations: 7.597 MB / 0.6862 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008651/0.7694, allocations: 329.5 kB / 0.6865 GB, free: 412 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006692/0.7701, allocations: 51.5 kB / 0.6866 GB, free: 364 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/0.7715, allocations: 143.8 kB / 0.6867 GB, free: 220 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003681/0.7719, allocations: 156.9 kB / 0.6869 GB, free: 64 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002082/0.7721, allocations: 68.05 kB / 0.6869 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003438/0.7756, allocations: 1.661 MB / 0.6885 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.11e-07/0.7756, allocations: 0 / 0.6885 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00514/0.7807, allocations: 0.9918 MB / 0.6895 GB, free: 13.34 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.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 (196): * Single equations (assignments): 189 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006004/0.7814, allocations: 198.4 kB / 0.6897 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01021/0.7916, allocations: 5.581 MB / 0.6952 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.294e-05/0.7916, allocations: 4 kB / 0.6952 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003364/0.795, allocations: 2.146 MB / 0.6972 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00349/0.7985, allocations: 387 kB / 0.6976 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3069/1.105, allocations: 12.07 MB / 0.7094 GB, free: 149.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005974/1.111, allocations: 3.371 MB / 0.7127 GB, free: 148.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005821/1.117, allocations: 1.988 MB / 0.7146 GB, free: 148.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007648/1.118, allocations: 211.3 kB / 0.7148 GB, free: 148.4 MB / 0.5294 GB Notification: Performance of SimCode: time 1.453e-06/1.118, allocations: 0 / 0.7148 GB, free: 148.4 MB / 0.5294 GB Notification: Performance of Templates: time 0.05824/1.176, allocations: 31.3 MB / 0.7454 GB, free: 132.7 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches