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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001141/0.001141, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.221/1.221, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008723/0.0008723, allocations: 91 kB / 292.1 MB, free: 6.008 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1737/0.1737, allocations: 45.14 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.643e-05/3.645e-05, allocations: 4 kB / 460.4 MB, free: 70.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08643/0.08648, allocations: 63.26 MB / 0.5114 GB, free: 6.801 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3477/0.4342, allocations: 107.7 MB / 0.6166 GB, free: 2.441 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/0.4345, allocations: 73.72 kB / 0.6167 GB, free: 2.406 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2141/0.6487, allocations: 91.94 MB / 0.7065 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.283e-06/0.6487, allocations: 0 / 0.7065 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001216/0.6488, allocations: 83.94 kB / 0.7065 GB, free: 14.23 MB / 0.4948 GB 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.007502/0.6564, allocations: 3.922 MB / 0.7104 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.6564, allocations: 16.02 kB / 0.7104 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01387/0.6703, allocations: 3.523 MB / 0.7138 GB, free: 6.691 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009/0.6793, allocations: 3.745 MB / 0.7175 GB, free: 2.895 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002798/0.6796, allocations: 312.3 kB / 0.7178 GB, free: 2.586 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001513/0.6812, allocations: 423.8 kB / 0.7182 GB, free: 2.172 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01829/0.6995, allocations: 10.66 MB / 0.7286 GB, free: 7.035 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001207/0.6996, allocations: 27.72 kB / 0.7286 GB, free: 7.008 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006028/0.7002, allocations: 187.9 kB / 0.7288 GB, free: 6.824 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001676/0.7019, allocations: 1.223 MB / 0.73 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01849/0.7204, allocations: 10.24 MB / 0.74 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2965/1.017, allocations: 36.97 MB / 0.7761 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00866/1.026, allocations: 4.562 MB / 0.7805 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003267/1.029, allocations: 2.375 MB / 0.7829 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009129/1.03, allocations: 1.32 MB / 0.7842 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/1.03, allocations: 53.22 kB / 0.7842 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=242): time 5.34e-06/1.03, allocations: 1.594 kB / 0.7842 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=254): time 0.02841/1.058, allocations: 14.52 MB / 0.7984 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/1.058, allocations: 71.34 kB / 0.7985 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002981/1.061, allocations: 2.413 MB / 0.8008 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001754/1.062, allocations: 59.22 kB / 0.8009 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001231/1.063, allocations: 2.773 MB / 0.8036 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000636/1.064, allocations: 0.9172 MB / 0.8045 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/1.064, allocations: 107.8 kB / 0.8046 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002268/1.064, allocations: 0.5415 MB / 0.8051 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0025/1.066, allocations: 2.237 MB / 0.8073 GB, free: 107 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003459/1.07, allocations: 5.129 MB / 0.8123 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003821/1.074, allocations: 3.434 MB / 0.8157 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-05/1.074, allocations: 29.22 kB / 0.8157 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.01329/1.087, allocations: 8.121 MB / 0.8236 GB, free: 99.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.385e-05/1.087, allocations: 52.44 kB / 0.8237 GB, free: 99.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001176/1.087, allocations: 99.59 kB / 0.8238 GB, free: 99.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002555/1.09, allocations: 0.9458 MB / 0.8247 GB, free: 99.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004039/1.094, allocations: 1.217 MB / 0.8259 GB, free: 99.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005596/1.1, allocations: 4.743 MB / 0.8305 GB, free: 96.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00398/1.104, allocations: 295.2 kB / 0.8308 GB, free: 96.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006958/1.104, allocations: 307.3 kB / 0.8311 GB, free: 96.46 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 460 * Number of states: 0 () * Number of discrete variables: 35 (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.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (652): * Single equations (assignments): 645 * 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.0007887/1.105, allocations: 0.4979 MB / 0.8316 GB, free: 96.05 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000375/1.106, allocations: 274.9 kB / 0.8318 GB, free: 95.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007567/1.113, allocations: 5.069 MB / 0.8368 GB, free: 94.25 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.274e-05/1.113, allocations: 51.61 kB / 0.8368 GB, free: 94.25 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/1.113, allocations: 0 / 0.8368 GB, free: 94.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.058e-05/1.113, allocations: 14.3 kB / 0.8368 GB, free: 94.25 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01671/1.13, allocations: 11.87 MB / 0.8484 GB, free: 89.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/1.13, allocations: 8 kB / 0.8484 GB, free: 89.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001489/1.131, allocations: 406.5 kB / 0.8488 GB, free: 88.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002163/1.134, allocations: 0.7706 MB / 0.8496 GB, free: 88.21 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001726/1.134, allocations: 44.62 kB / 0.8496 GB, free: 88.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004283/1.138, allocations: 4.021 MB / 0.8535 GB, free: 84.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/1.138, allocations: 16 kB / 0.8536 GB, free: 84.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009348/1.147, allocations: 8.378 MB / 0.8617 GB, free: 76.84 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008664/1.148, allocations: 327.6 kB / 0.8621 GB, free: 76.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006279/1.149, allocations: 53.25 kB / 0.8621 GB, free: 76.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/1.151, allocations: 137.5 kB / 0.8622 GB, free: 76.38 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000348/1.151, allocations: 165.5 kB / 0.8624 GB, free: 76.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001697/1.151, allocations: 69.48 kB / 0.8625 GB, free: 76.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002324/1.153, allocations: 1.646 MB / 0.8641 GB, free: 74.74 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.21e-07/1.153, allocations: 0 / 0.8641 GB, free: 74.74 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003934/1.157, allocations: 0.989 MB / 0.865 GB, free: 73.76 MB / 0.5261 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 () * 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.000412/1.158, allocations: 202.3 kB / 0.8652 GB, free: 73.57 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00674/1.165, allocations: 5.506 MB / 0.8706 GB, free: 68.55 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/1.165, allocations: 4 kB / 0.8706 GB, free: 68.54 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002278/1.167, allocations: 2.12 MB / 0.8727 GB, free: 66.61 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/1.168, allocations: 355.3 kB / 0.873 GB, free: 66.32 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01283/1.181, allocations: 8.52 MB / 0.8813 GB, free: 58.57 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002731/1.184, allocations: 3.466 MB / 0.8847 GB, free: 55.89 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003916/1.188, allocations: 1.986 MB / 0.8867 GB, free: 54.62 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005774/1.189, allocations: 210 kB / 0.8869 GB, free: 54.42 MB / 0.5261 GB Notification: Performance of SimCode: time 1.583e-06/1.189, allocations: 0 / 0.8869 GB, free: 54.42 MB / 0.5261 GB Notification: Performance of Templates: time 0.04612/1.235, allocations: 31.54 MB / 0.9177 GB, free: 26.09 MB / 0.5261 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches