Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001116/0.001116, allocations: 197.2 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.245/1.245, allocations: 226.6 MB / 243.4 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007675/0.0007677, allocations: 97.36 kB / 295.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2758/0.2758, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000251/0.0002511, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2614, allocations: 62.96 MB / 0.5159 GB, free: 37.13 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01723/0.2787, allocations: 26.83 MB / 0.5421 GB, free: 17.99 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01116/0.2899, allocations: 6.414 MB / 0.5483 GB, free: 13.68 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00409/0.294, allocations: 121.4 kB / 0.5485 GB, free: 13.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003506/0.2976, allocations: 1.281 MB / 0.5497 GB, free: 13.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009445/0.307, allocations: 3.996 MB / 0.5536 GB, free: 11.6 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.3087, allocations: 451.2 kB / 0.554 GB, free: 11.44 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004898/0.3136, allocations: 3.987 MB / 0.5579 GB, free: 10.08 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003205/0.3169, allocations: 2.378 MB / 0.5603 GB, free: 8.938 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001597/0.3185, allocations: 1.02 MB / 0.5613 GB, free: 8.426 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00204/0.3205, allocations: 1.666 MB / 0.5629 GB, free: 7.598 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003808/0.3209, allocations: 130.7 kB / 0.563 GB, free: 7.598 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001738/0.3227, allocations: 0.8922 MB / 0.5639 GB, free: 7.184 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00128/0.324, allocations: 1.459 MB / 0.5653 GB, free: 6.41 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001477/0.3255, allocations: 1.691 MB / 0.567 GB, free: 4.949 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003892/0.3294, allocations: 4.717 MB / 0.5716 GB, free: 228 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.3294, allocations: 0 / 0.5716 GB, free: 228 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.3294, allocations: 7.938 kB / 0.5716 GB, free: 220 kB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001368/0.3295, allocations: 0 / 0.5716 GB, free: 220 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.005868/0.3354, allocations: 3.41 MB / 0.5749 GB, free: 12.74 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.3355, allocations: 12.03 kB / 0.5749 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00965/0.3451, allocations: 3.162 MB / 0.578 GB, free: 9.555 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003944/0.3491, allocations: 1.862 MB / 0.5798 GB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001707/0.3493, allocations: 189 kB / 0.58 GB, free: 7.461 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008692/0.3502, allocations: 259.8 kB / 0.5802 GB, free: 7.207 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01542/0.3656, allocations: 10.47 MB / 0.5905 GB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.387e-05/0.3657, allocations: 23.81 kB / 0.5905 GB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000368/0.3661, allocations: 119.8 kB / 0.5906 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004009/0.3701, allocations: 2.553 MB / 0.5931 GB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01759/0.3878, allocations: 9.892 MB / 0.6028 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04503/0.4328, allocations: 34.48 MB / 0.6364 GB, free: 12.39 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00855/0.4414, allocations: 5.174 MB / 0.6415 GB, free: 6.996 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002748/0.4442, allocations: 2.292 MB / 0.6437 GB, free: 4.707 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001445/0.4457, allocations: 1.876 MB / 0.6455 GB, free: 2.496 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.4457, allocations: 52.56 kB / 0.6456 GB, free: 2.438 MB / 458.7 MB Notification: Performance of pre-optimization done (n=229): time 4.95e-06/0.4457, allocations: 0 / 0.6456 GB, free: 2.438 MB / 458.7 MB Notification: Performance of matching and sorting (n=235): time 0.02935/0.4751, allocations: 13.92 MB / 0.6592 GB, free: 4.453 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.4751, allocations: 73.34 kB / 0.6593 GB, free: 4.371 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003758/0.4789, allocations: 2.619 MB / 0.6618 GB, free: 1.73 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003006/0.4792, allocations: 57.69 kB / 0.6619 GB, free: 1.668 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001742/0.481, allocations: 2.636 MB / 0.6645 GB, free: 14.99 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001046/0.482, allocations: 0.8479 MB / 0.6653 GB, free: 14.13 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004203/0.4825, allocations: 104 kB / 0.6654 GB, free: 14.03 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004008/0.4829, allocations: 0.5292 MB / 0.6659 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003509/0.4864, allocations: 2.185 MB / 0.668 GB, free: 11.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005349/0.4918, allocations: 5.055 MB / 0.673 GB, free: 4.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2059/0.6977, allocations: 7.937 MB / 0.6807 GB, free: 123.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-05/0.6978, allocations: 28.78 kB / 0.6807 GB, free: 123.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01135/0.7092, allocations: 7.847 MB / 0.6884 GB, free: 120.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.132e-05/0.7093, allocations: 52.22 kB / 0.6885 GB, free: 120.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.4e-05/0.7094, allocations: 102.4 kB / 0.6886 GB, free: 120.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00196/0.7114, allocations: 0.7832 MB / 0.6893 GB, free: 120.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003296/0.7147, allocations: 1.185 MB / 0.6905 GB, free: 120.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004395/0.7191, allocations: 4.195 MB / 0.6946 GB, free: 118.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002834/0.7219, allocations: 297.4 kB / 0.6949 GB, free: 118 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004618/0.7224, allocations: 301.2 kB / 0.6951 GB, free: 118 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (635): * Single equations (assignments): 628 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002737/0.7251, allocations: 2.019 MB / 0.6971 GB, free: 117.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003426/0.7255, allocations: 267.5 kB / 0.6974 GB, free: 117.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007214/0.7327, allocations: 4.71 MB / 0.702 GB, free: 115.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.933e-05/0.7328, allocations: 44.41 kB / 0.702 GB, free: 115.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.7328, allocations: 2.75 kB / 0.702 GB, free: 115.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.079e-05/0.7328, allocations: 9 kB / 0.702 GB, free: 115.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01591/0.7488, allocations: 10.53 MB / 0.7123 GB, free: 112 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/0.7488, allocations: 7 kB / 0.7123 GB, free: 112 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001382/0.7502, allocations: 362.2 kB / 0.7127 GB, free: 112 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001766/0.752, allocations: 0.6574 MB / 0.7133 GB, free: 111.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001612/0.7521, allocations: 43.81 kB / 0.7133 GB, free: 111.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003613/0.7558, allocations: 3.652 MB / 0.7169 GB, free: 109.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.7558, allocations: 11.84 kB / 0.7169 GB, free: 109.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007944/0.7637, allocations: 7.105 MB / 0.7239 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004753/0.7642, allocations: 316.7 kB / 0.7242 GB, free: 107 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002608/0.7645, allocations: 39.8 kB / 0.7242 GB, free: 107 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009876/0.7655, allocations: 149.2 kB / 0.7243 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002491/0.7658, allocations: 135 kB / 0.7245 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/0.7659, allocations: 66.92 kB / 0.7245 GB, free: 106.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001892/0.7678, allocations: 1.595 MB / 0.7261 GB, free: 105.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7678, allocations: 0 / 0.7261 GB, free: 105.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003244/0.7711, allocations: 0.9283 MB / 0.727 GB, free: 104.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003743/0.7714, allocations: 175.4 kB / 0.7272 GB, free: 104.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006054/0.7775, allocations: 5.325 MB / 0.7324 GB, free: 99.62 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.7775, allocations: 4 kB / 0.7324 GB, free: 99.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002089/0.7796, allocations: 2.021 MB / 0.7343 GB, free: 97.82 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003519/0.7832, allocations: 345.2 kB / 0.7347 GB, free: 97.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01286/0.796, allocations: 11.56 MB / 0.746 GB, free: 85.82 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002461/0.7985, allocations: 3.171 MB / 0.7491 GB, free: 82.62 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009662/0.7995, allocations: 254 kB / 0.7493 GB, free: 82.37 MB / 490.7 MB Notification: Performance of SimCode: time 6.21e-07/0.7995, allocations: 0 / 0.7493 GB, free: 82.37 MB / 490.7 MB Notification: Performance of Templates: time 0.06714/0.8667, allocations: 69.5 MB / 0.8172 GB, free: 12.92 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Revolute --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches