Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_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_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001037/0.001038, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001101/0.001101, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2079/0.2079, allocations: 46.09 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 75.89 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1193, allocations: 62.46 MB / 481.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01337/0.1327, allocations: 12.26 MB / 493.7 MB, free: 8.223 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007143/0.1399, allocations: 3.944 MB / 497.7 MB, free: 4.266 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00134/0.1413, allocations: 63.88 kB / 497.7 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002407/0.1437, allocations: 1.315 MB / 499.1 MB, free: 2.883 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003382/0.1471, allocations: 1.716 MB / 0.489 GB, free: 1.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009929/0.1481, allocations: 491 kB / 0.4895 GB, free: 0.6797 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004069/0.1522, allocations: 3.606 MB / 0.493 GB, free: 13.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002236/0.1545, allocations: 2.013 MB / 0.495 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.156, allocations: 1.191 MB / 0.4962 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00194/0.1579, allocations: 1.717 MB / 0.4978 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004234/0.1583, allocations: 239.9 kB / 0.4981 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001625/0.16, allocations: 0.9283 MB / 0.499 GB, free: 6.934 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001375/0.1614, allocations: 1.574 MB / 0.5005 GB, free: 5.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001734/0.1631, allocations: 1.875 MB / 0.5023 GB, free: 3.469 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2176/0.3807, allocations: 6.17 MB / 0.5084 GB, free: 19.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.3808, allocations: 5.156 kB / 0.5084 GB, free: 19.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3808, allocations: 0 / 0.5084 GB, free: 19.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000218/0.381, allocations: 1.188 kB / 0.5084 GB, free: 19.24 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01025/0.3913, allocations: 4.12 MB / 0.5124 GB, free: 17.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.3913, allocations: 8.75 kB / 0.5124 GB, free: 17.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/0.4036, allocations: 3.077 MB / 0.5154 GB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005835/0.4095, allocations: 1.871 MB / 0.5172 GB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003976/0.4099, allocations: 191.7 kB / 0.5174 GB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00181/0.4118, allocations: 249.1 kB / 0.5176 GB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01984/0.4317, allocations: 10.48 MB / 0.5279 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002036/0.4319, allocations: 36.03 kB / 0.5279 GB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001243/0.4332, allocations: 119.3 kB / 0.528 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004039/0.4372, allocations: 2.549 MB / 0.5305 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01569/0.4529, allocations: 9.913 MB / 0.5402 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0467/0.4996, allocations: 34.27 MB / 0.5737 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008519/0.5082, allocations: 5.187 MB / 0.5787 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002642/0.5109, allocations: 2.298 MB / 0.581 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001582/0.5125, allocations: 1.879 MB / 0.5828 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/0.5125, allocations: 52.56 kB / 0.5829 GB, free: 11.24 MB / 430.1 MB Notification: Performance of pre-optimization done (n=229): time 3.837e-06/0.5125, allocations: 4 kB / 0.5829 GB, free: 11.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=235): time 0.02939/0.5419, allocations: 13.97 MB / 0.5965 GB, free: 13.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/0.542, allocations: 77.41 kB / 0.5966 GB, free: 13.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004361/0.5464, allocations: 2.629 MB / 0.5991 GB, free: 10.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000161/0.5466, allocations: 56.12 kB / 0.5992 GB, free: 10.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001792/0.5484, allocations: 2.625 MB / 0.6018 GB, free: 7.836 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008/0.5492, allocations: 0.8564 MB / 0.6026 GB, free: 6.988 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001433/0.5506, allocations: 1.043 MB / 0.6036 GB, free: 5.938 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.5507, allocations: 305.1 kB / 0.6039 GB, free: 5.637 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002983/0.5537, allocations: 2.2 MB / 0.6061 GB, free: 3.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004709/0.5584, allocations: 5.075 MB / 0.611 GB, free: 13 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008762/0.5672, allocations: 7.97 MB / 0.6188 GB, free: 4.039 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-05/0.5673, allocations: 28 kB / 0.6188 GB, free: 4.012 MB / 462.1 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01374/0.581, allocations: 7.891 MB / 0.6265 GB, free: 12.51 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.305e-05/0.5811, allocations: 48 kB / 0.6266 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.394e-05/0.5812, allocations: 100 kB / 0.6267 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002132/0.5834, allocations: 0.7893 MB / 0.6274 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003462/0.5869, allocations: 1.189 MB / 0.6286 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005683/0.5925, allocations: 4.514 MB / 0.633 GB, free: 5.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002932/0.5955, allocations: 300.3 kB / 0.6333 GB, free: 5.441 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003962/0.5959, allocations: 305.8 kB / 0.6336 GB, free: 5.145 MB / 478.1 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 (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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003127/0.599, allocations: 2.016 MB / 0.6356 GB, free: 3.121 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004055/0.5994, allocations: 260.6 kB / 0.6358 GB, free: 2.863 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007502/0.607, allocations: 4.721 MB / 0.6404 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.884e-05/0.607, allocations: 48.95 kB / 0.6405 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.6071, allocations: 3.938 kB / 0.6405 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/0.6071, allocations: 11.91 kB / 0.6405 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01749/0.6246, allocations: 10.5 MB / 0.6507 GB, free: 3.441 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/0.6246, allocations: 8 kB / 0.6507 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/0.6261, allocations: 364.6 kB / 0.6511 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001953/0.6281, allocations: 0.6565 MB / 0.6517 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001537/0.6282, allocations: 51.92 kB / 0.6518 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004783/0.633, allocations: 3.895 MB / 0.6556 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.786e-06/0.633, allocations: 11.94 kB / 0.6556 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009809/0.6429, allocations: 7.143 MB / 0.6626 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000738/0.6436, allocations: 301.7 kB / 0.6629 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003177/0.644, allocations: 46.94 kB / 0.6629 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.6451, allocations: 143.2 kB / 0.663 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003259/0.6454, allocations: 125.1 kB / 0.6632 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000159/0.6456, allocations: 68.27 kB / 0.6632 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002201/0.6478, allocations: 1.619 MB / 0.6648 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6478, allocations: 0 / 0.6648 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003546/0.6513, allocations: 0.9171 MB / 0.6657 GB, free: 3.836 MB / 0.4981 GB 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 (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 {(1,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.0004037/0.6517, allocations: 181.3 kB / 0.6659 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00733/0.6591, allocations: 5.385 MB / 0.6711 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.6591, allocations: 0 / 0.6711 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00252/0.6616, allocations: 2.023 MB / 0.6731 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/0.6635, allocations: 361.6 kB / 0.6735 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01462/0.6782, allocations: 9.315 MB / 0.6825 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003246/0.6814, allocations: 3.171 MB / 0.6856 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004106/0.6856, allocations: 1.953 MB / 0.6876 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006561/0.6862, allocations: 199.4 kB / 0.6877 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of SimCode: time 8.42e-07/0.6863, allocations: 3.938 kB / 0.6877 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of Templates: time 0.05151/0.7378, allocations: 26.91 MB / 0.714 GB, free: 2.445 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches