Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Cylindrical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001056/0.001056, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001107/0.001107, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2077/0.2077, allocations: 46.09 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 80.77 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1074, allocations: 62.44 MB / 481.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.0139/0.1213, allocations: 13.5 MB / 495 MB, free: 6.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008579/0.1299, allocations: 4.17 MB / 499.1 MB, free: 2.797 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002027/0.132, allocations: 75.75 kB / 499.2 MB, free: 2.723 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003785/0.1358, allocations: 1.814 MB / 0.4893 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004722/0.1406, allocations: 1.802 MB / 0.491 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001898/0.1425, allocations: 0.5537 MB / 0.4916 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005574/0.1481, allocations: 3.891 MB / 0.4954 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004249/0.1524, allocations: 2.693 MB / 0.498 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002482/0.1549, allocations: 1.366 MB / 0.4993 GB, free: 6.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002973/0.1579, allocations: 1.939 MB / 0.5012 GB, free: 4.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001087/0.159, allocations: 292 kB / 0.5015 GB, free: 4.293 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002498/0.1615, allocations: 0.9908 MB / 0.5025 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002131/0.1636, allocations: 1.749 MB / 0.5042 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1854/0.3491, allocations: 2.095 MB / 0.5062 GB, free: 17.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007554/0.3566, allocations: 6.881 MB / 0.5129 GB, free: 16.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3567, allocations: 0 / 0.5129 GB, free: 16.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3567, allocations: 0 / 0.5129 GB, free: 16.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001879/0.3569, allocations: 0 / 0.5129 GB, free: 16.52 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.008688/0.3656, allocations: 4.524 MB / 0.5174 GB, free: 14.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.3656, allocations: 9.656 kB / 0.5174 GB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009691/0.3753, allocations: 3.111 MB / 0.5204 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005689/0.381, allocations: 2.126 MB / 0.5225 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/0.3812, allocations: 219.1 kB / 0.5227 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008939/0.3821, allocations: 286.4 kB / 0.523 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0176/0.3997, allocations: 11.11 MB / 0.5338 GB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001217/0.3999, allocations: 37.55 kB / 0.5339 GB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004682/0.4004, allocations: 132.8 kB / 0.534 GB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003526/0.4039, allocations: 2.623 MB / 0.5365 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01613/0.42, allocations: 10.37 MB / 0.5467 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05415/0.4742, allocations: 36.47 MB / 0.5823 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008987/0.4833, allocations: 4.573 MB / 0.5868 GB, free: 7.531 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003241/0.4865, allocations: 2.4 MB / 0.5891 GB, free: 5.133 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001356/0.4879, allocations: 1.317 MB / 0.5904 GB, free: 3.602 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.488, allocations: 52.56 kB / 0.5904 GB, free: 3.543 MB / 430.1 MB Notification: Performance of pre-optimization done (n=242): time 6.733e-06/0.488, allocations: 4 kB / 0.5904 GB, free: 3.539 MB / 430.1 MB Notification: Performance of matching and sorting (n=254): time 0.05816/0.5461, allocations: 17.58 MB / 0.6076 GB, free: 1.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.499e-05/0.5463, allocations: 73.41 kB / 0.6077 GB, free: 1.844 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006122/0.5524, allocations: 2.738 MB / 0.6103 GB, free: 15.09 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000689/0.5531, allocations: 55.97 kB / 0.6104 GB, free: 15.03 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002812/0.556, allocations: 2.771 MB / 0.6131 GB, free: 12.25 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001641/0.5576, allocations: 0.9193 MB / 0.614 GB, free: 11.34 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003873/0.5615, allocations: 1.074 MB / 0.6151 GB, free: 10.26 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.5617, allocations: 301.1 kB / 0.6153 GB, free: 9.965 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006107/0.5679, allocations: 2.318 MB / 0.6176 GB, free: 7.641 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009198/0.5771, allocations: 5.217 MB / 0.6227 GB, free: 1.055 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0155/0.5926, allocations: 8.275 MB / 0.6308 GB, free: 7.785 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001089/0.5928, allocations: 32 kB / 0.6308 GB, free: 7.754 MB / 478.1 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.02369/0.6165, allocations: 8.3 MB / 0.6389 GB, free: 15.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001789/0.6167, allocations: 48 kB / 0.639 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001868/0.6169, allocations: 100 kB / 0.6391 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004226/0.6212, allocations: 0.9417 MB / 0.64 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006167/0.6274, allocations: 1.224 MB / 0.6412 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/0.6379, allocations: 5.135 MB / 0.6462 GB, free: 8.254 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005707/0.6436, allocations: 295.8 kB / 0.6465 GB, free: 7.965 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009607/0.6446, allocations: 304 kB / 0.6468 GB, free: 7.668 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 (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,10,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004926/0.6496, allocations: 2.149 MB / 0.6489 GB, free: 5.508 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007138/0.6503, allocations: 288.2 kB / 0.6491 GB, free: 5.223 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00978/0.6601, allocations: 5.116 MB / 0.6541 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.485e-05/0.6602, allocations: 47.98 kB / 0.6542 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/0.6602, allocations: 8 kB / 0.6542 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.421e-05/0.6602, allocations: 11.95 kB / 0.6542 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02186/0.6821, allocations: 11.87 MB / 0.6658 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-05/0.6821, allocations: 12 kB / 0.6658 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001693/0.6838, allocations: 399.3 kB / 0.6662 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002386/0.6862, allocations: 0.7776 MB / 0.6669 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002384/0.6865, allocations: 54.33 kB / 0.667 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005547/0.6921, allocations: 4.376 MB / 0.6713 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/0.6921, allocations: 16 kB / 0.6713 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01146/0.7035, allocations: 7.633 MB / 0.6787 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008637/0.7044, allocations: 329.5 kB / 0.679 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007266/0.7052, allocations: 48 kB / 0.6791 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001659/0.7069, allocations: 150.7 kB / 0.6792 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004422/0.7073, allocations: 148.9 kB / 0.6794 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002154/0.7075, allocations: 75.98 kB / 0.6795 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003273/0.7108, allocations: 1.685 MB / 0.6811 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7108, allocations: 0 / 0.6811 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004854/0.7157, allocations: 0.9677 MB / 0.682 GB, free: 3.02 MB / 0.5137 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 (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 {(2,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.0006121/0.7163, allocations: 190.4 kB / 0.6822 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008985/0.7253, allocations: 5.667 MB / 0.6878 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/0.7254, allocations: 4.5 kB / 0.6878 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003097/0.7285, allocations: 2.152 MB / 0.6899 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00263/0.7311, allocations: 405.1 kB / 0.6903 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01856/0.7497, allocations: 10.11 MB / 0.7001 GB, free: 372 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005188/0.7549, allocations: 3.371 MB / 0.7034 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004576/0.7595, allocations: 1.978 MB / 0.7053 GB, free: 10.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008949/0.7604, allocations: 211.4 kB / 0.7055 GB, free: 10.77 MB / 0.545 GB Notification: Performance of SimCode: time 8.02e-07/0.7604, allocations: 0 / 0.7055 GB, free: 10.77 MB / 0.545 GB Notification: Performance of Templates: time 0.2663/1.027, allocations: 29.66 MB / 0.7345 GB, free: 190.6 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches