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.001107/0.001107, allocations: 200.7 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 226.5 MB / 245.4 MB, free: 8.117 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007973/0.0007973, allocations: 97.58 kB / 297.5 MB, free: 6.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3205/0.3205, allocations: 44.82 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003027/0.0003028, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.4122, allocations: 62.96 MB / 0.5184 GB, free: 37.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1493/0.5615, allocations: 107.8 MB / 0.6237 GB, free: 13.48 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.5618, allocations: 83.94 kB / 0.6238 GB, free: 13.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4809/1.043, allocations: 90.26 MB / 0.7119 GB, free: 99.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.875e-06/1.043, allocations: 0 / 0.7119 GB, free: 99.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002118/1.043, allocations: 80.98 kB / 0.712 GB, free: 99.8 MB / 490.7 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.01667/1.06, allocations: 3.95 MB / 0.7158 GB, free: 97.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.075e-05/1.06, allocations: 14.06 kB / 0.7159 GB, free: 97.94 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01737/1.077, allocations: 3.504 MB / 0.7193 GB, free: 97.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009789/1.087, allocations: 3.103 MB / 0.7223 GB, free: 96.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003935/1.088, allocations: 315.4 kB / 0.7226 GB, free: 96.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002953/1.09, allocations: 415.7 kB / 0.723 GB, free: 96.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02411/1.115, allocations: 10.7 MB / 0.7334 GB, free: 92.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001637/1.115, allocations: 25.66 kB / 0.7335 GB, free: 92.72 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008699/1.116, allocations: 195.9 kB / 0.7337 GB, free: 92.61 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001388/1.117, allocations: 1.217 MB / 0.7348 GB, free: 92.39 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01783/1.135, allocations: 10.29 MB / 0.7449 GB, free: 89.21 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04946/1.184, allocations: 36.95 MB / 0.781 GB, free: 61.47 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008474/1.193, allocations: 4.575 MB / 0.7854 GB, free: 56.67 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002799/1.196, allocations: 2.4 MB / 0.7878 GB, free: 54.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009567/1.197, allocations: 1.321 MB / 0.7891 GB, free: 52.74 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/1.197, allocations: 56.5 kB / 0.7891 GB, free: 52.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 4.93e-06/1.197, allocations: 0 / 0.7891 GB, free: 52.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.03399/1.231, allocations: 17.34 MB / 0.8061 GB, free: 35.28 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/1.231, allocations: 73.41 kB / 0.8061 GB, free: 35.19 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003937/1.235, allocations: 2.738 MB / 0.8088 GB, free: 32.44 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000503/1.235, allocations: 61.7 kB / 0.8089 GB, free: 32.38 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001334/1.237, allocations: 2.772 MB / 0.8116 GB, free: 29.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001069/1.238, allocations: 0.9198 MB / 0.8125 GB, free: 28.69 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002224/1.238, allocations: 104 kB / 0.8126 GB, free: 28.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002816/1.238, allocations: 0.5374 MB / 0.8131 GB, free: 28.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002842/1.241, allocations: 2.275 MB / 0.8153 GB, free: 25.76 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003952/1.245, allocations: 5.191 MB / 0.8204 GB, free: 19.14 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00749/1.253, allocations: 8.219 MB / 0.8284 GB, free: 9.508 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.055e-05/1.253, allocations: 32 kB / 0.8284 GB, free: 9.477 MB / 490.7 MB Notification: Performance of matching and sorting (n=713) (initialization): time 0.01332/1.266, allocations: 8.195 MB / 0.8364 GB, free: 1.266 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.742e-05/1.266, allocations: 51.94 kB / 0.8365 GB, free: 1.215 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000106/1.266, allocations: 107.9 kB / 0.8366 GB, free: 1.109 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002374/1.269, allocations: 0.9321 MB / 0.8375 GB, free: 180 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004306/1.273, allocations: 1.22 MB / 0.8387 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00679/1.28, allocations: 4.74 MB / 0.8433 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004848/1.285, allocations: 299 kB / 0.8436 GB, free: 9.793 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008593/1.286, allocations: 304 kB / 0.8439 GB, free: 9.496 MB / 0.4948 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 () * Number of clocked 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.005005/1.291, allocations: 2.162 MB / 0.846 GB, free: 7.328 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005756/1.291, allocations: 272.4 kB / 0.8463 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0086/1.3, allocations: 5.102 MB / 0.8513 GB, free: 1.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.263e-05/1.3, allocations: 47.88 kB / 0.8513 GB, free: 1.887 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/1.3, allocations: 4 kB / 0.8513 GB, free: 1.883 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.048e-05/1.3, allocations: 11.95 kB / 0.8513 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02067/1.321, allocations: 11.9 MB / 0.8629 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.91e-05/1.321, allocations: 16.12 kB / 0.8629 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/1.322, allocations: 399.4 kB / 0.8633 GB, free: 5.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002283/1.325, allocations: 0.7731 MB / 0.8641 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002232/1.325, allocations: 47.98 kB / 0.8641 GB, free: 4.586 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005258/1.33, allocations: 4.022 MB / 0.8681 GB, free: 436 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.147e-05/1.33, allocations: 15.94 kB / 0.8681 GB, free: 420 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01145/1.342, allocations: 7.599 MB / 0.8755 GB, free: 8.652 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001433/1.343, allocations: 329.5 kB / 0.8758 GB, free: 8.309 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004508/1.344, allocations: 51.98 kB / 0.8759 GB, free: 8.258 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/1.345, allocations: 139.8 kB / 0.876 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004671/1.345, allocations: 152.9 kB / 0.8761 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001995/1.346, allocations: 75.98 kB / 0.8762 GB, free: 7.898 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003384/1.349, allocations: 1.661 MB / 0.8778 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/1.349, allocations: 0 / 0.8778 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006257/1.355, allocations: 1.007 MB / 0.8788 GB, free: 5.227 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 () * 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.0006553/1.356, allocations: 198.5 kB / 0.879 GB, free: 5.023 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.2951/1.651, allocations: 5.556 MB / 0.8844 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.45e-05/1.651, allocations: 2.25 kB / 0.8844 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00472/1.656, allocations: 2.15 MB / 0.8865 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006078/1.662, allocations: 371 kB / 0.8869 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01951/1.682, allocations: 12.05 MB / 0.8987 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004575/1.686, allocations: 3.377 MB / 0.902 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.008776/1.695, allocations: 1.986 MB / 0.9039 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001498/1.697, allocations: 210.4 kB / 0.9041 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.964e-06/1.697, allocations: 3.906 kB / 0.9041 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.09693/1.794, allocations: 31.63 MB / 0.935 GB, free: 129.5 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/jenkins1/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