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.0008263/0.0008263, allocations: 99.09 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009217/0.0009221, allocations: 202.6 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2421/0.2421, allocations: 45.92 MB / 344 MB, free: 12.35 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002511/0.0002512, allocations: 12 kB / 417.9 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1444, allocations: 63.46 MB / 481.4 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.03191/0.1764, allocations: 32.47 MB / 0.5018 GB, free: 4.887 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.338/0.5145, allocations: 8.1 MB / 0.5097 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008737/0.5233, allocations: 152.9 kB / 0.5099 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0076/0.5309, allocations: 1.644 MB / 0.5115 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02589/0.5568, allocations: 4.851 MB / 0.5162 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003151/0.56, allocations: 460.6 kB / 0.5166 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005673/0.5657, allocations: 2.143 MB / 0.5187 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005387/0.5711, allocations: 3.013 MB / 0.5217 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002118/0.5732, allocations: 0.9465 MB / 0.5226 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001961/0.5752, allocations: 1.335 MB / 0.5239 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005314/0.5757, allocations: 147.8 kB / 0.524 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001814/0.5776, allocations: 0.7408 MB / 0.5248 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001562/0.5791, allocations: 1.482 MB / 0.5262 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009473/0.5801, allocations: 0.8201 MB / 0.527 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00568/0.5858, allocations: 5.284 MB / 0.5322 GB, free: 5.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.5858, allocations: 0 / 0.5322 GB, free: 5.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.5858, allocations: 0 / 0.5322 GB, free: 5.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002059/0.586, allocations: 0 / 0.5322 GB, free: 5.508 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.01375/0.5998, allocations: 3.847 MB / 0.5359 GB, free: 3.145 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.5999, allocations: 12.5 kB / 0.5359 GB, free: 3.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02004/0.6199, allocations: 3.776 MB / 0.5396 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009826/0.6298, allocations: 2.202 MB / 0.5418 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003075/0.6302, allocations: 221.4 kB / 0.542 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003006/0.6332, allocations: 283.2 kB / 0.5423 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02638/0.6596, allocations: 11.18 MB / 0.5532 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001147/0.6598, allocations: 23.81 kB / 0.5532 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004899/0.6603, allocations: 132.6 kB / 0.5533 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004577/0.6649, allocations: 2.619 MB / 0.5559 GB, free: 6.914 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02294/0.6878, allocations: 10.45 MB / 0.5661 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07203/0.7599, allocations: 36.77 MB / 0.602 GB, free: 8.352 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01046/0.7704, allocations: 4.564 MB / 0.6065 GB, free: 3.559 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001487/0.7719, allocations: 1.325 MB / 0.6078 GB, free: 2.027 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.799e-05/0.772, allocations: 52.56 kB / 0.6078 GB, free: 1.969 MB / 446.1 MB Notification: Performance of pre-optimization done (n=242): time 6.543e-06/0.772, allocations: 4 kB / 0.6078 GB, free: 1.965 MB / 446.1 MB Notification: Performance of matching and sorting (n=254): time 0.04774/0.8198, allocations: 18.07 MB / 0.6255 GB, free: 15.74 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.553e-05/0.8199, allocations: 81.39 kB / 0.6255 GB, free: 15.65 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007183/0.8271, allocations: 2.837 MB / 0.6283 GB, free: 12.8 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007528/0.8279, allocations: 57.7 kB / 0.6284 GB, free: 12.74 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002764/0.8307, allocations: 2.773 MB / 0.6311 GB, free: 9.977 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002033/0.8327, allocations: 0.9184 MB / 0.632 GB, free: 9.066 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009673/0.8337, allocations: 104 kB / 0.6321 GB, free: 8.965 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0007134/0.8344, allocations: 0.5335 MB / 0.6326 GB, free: 8.426 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004376/0.8388, allocations: 2.287 MB / 0.6348 GB, free: 6.133 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007307/0.8461, allocations: 5.173 MB / 0.6399 GB, free: 15.53 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006551/0.8527, allocations: 3.439 MB / 0.6432 GB, free: 12.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001343/0.8529, allocations: 32 kB / 0.6433 GB, free: 12.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01975/0.8727, allocations: 8.218 MB / 0.6513 GB, free: 3.832 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001608/0.8729, allocations: 52 kB / 0.6513 GB, free: 3.781 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000219/0.8731, allocations: 100 kB / 0.6514 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002939/0.876, allocations: 0.945 MB / 0.6524 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00486/0.8809, allocations: 1.23 MB / 0.6536 GB, free: 1.504 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00708/0.888, allocations: 4.923 MB / 0.6584 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004874/0.8929, allocations: 307.7 kB / 0.6587 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001547/0.8945, allocations: 304 kB / 0.6589 GB, free: 11.86 MB / 0.4981 GB 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 (653): * Single equations (assignments): 646 * 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.006685/0.9012, allocations: 2.149 MB / 0.661 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009428/0.9022, allocations: 284.3 kB / 0.6613 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01018/0.9124, allocations: 5.104 MB / 0.6663 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.857e-05/0.9124, allocations: 53.47 kB / 0.6664 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/0.9125, allocations: 8 kB / 0.6664 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-05/0.9125, allocations: 7.969 kB / 0.6664 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02759/0.9401, allocations: 11.88 MB / 0.678 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.743e-05/0.9402, allocations: 11.95 kB / 0.678 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001994/0.9422, allocations: 399.3 kB / 0.6784 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002507/0.9447, allocations: 0.7844 MB / 0.6791 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004088/0.9451, allocations: 44 kB / 0.6792 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00571/0.9508, allocations: 4.202 MB / 0.6833 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.325e-05/0.9509, allocations: 15.94 kB / 0.6833 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01278/0.9637, allocations: 8.441 MB / 0.6915 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/0.9649, allocations: 337.5 kB / 0.6919 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008603/0.9658, allocations: 44 kB / 0.6919 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001871/0.9676, allocations: 150.8 kB / 0.692 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004234/0.9681, allocations: 156.9 kB / 0.6922 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002511/0.9684, allocations: 71.98 kB / 0.6923 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003766/0.9721, allocations: 1.747 MB / 0.694 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9721, allocations: 4 kB / 0.694 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006254/0.9784, allocations: 1.003 MB / 0.695 GB, free: 6.262 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.0007491/0.9792, allocations: 205.4 kB / 0.6951 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009776/0.989, allocations: 5.567 MB / 0.7006 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/0.989, allocations: 320 / 0.7006 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003364/0.9924, allocations: 2.155 MB / 0.7027 GB, free: 14.34 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00237/0.9948, allocations: 348.1 kB / 0.703 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02587/1.021, allocations: 12.03 MB / 0.7148 GB, free: 1.812 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2873/1.308, allocations: 3.464 MB / 0.7182 GB, free: 164.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00603/1.314, allocations: 1.99 MB / 0.7201 GB, free: 164.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009037/1.315, allocations: 213.7 kB / 0.7203 GB, free: 164.9 MB / 0.545 GB Notification: Performance of SimCode: time 2.335e-06/1.315, allocations: 0 / 0.7203 GB, free: 164.9 MB / 0.545 GB Notification: Performance of Templates: time 0.0736/1.389, allocations: 31.78 MB / 0.7513 GB, free: 153.3 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 -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