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.00107/0.00107, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001192/0.001192, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2179/0.2179, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002551/0.002551, allocations: 76.94 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1377, allocations: 62.44 MB / 481.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01197/0.1497, allocations: 12.27 MB / 493.7 MB, free: 8.219 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00763/0.1573, allocations: 3.944 MB / 497.7 MB, free: 4.262 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001593/0.159, allocations: 59.88 kB / 497.7 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002487/0.1615, allocations: 1.311 MB / 499 MB, free: 2.887 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003479/0.165, allocations: 1.724 MB / 0.489 GB, free: 1.156 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.1661, allocations: 499 kB / 0.4895 GB, free: 0.668 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004044/0.1702, allocations: 3.609 MB / 0.493 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002518/0.1727, allocations: 2.005 MB / 0.495 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001692/0.1744, allocations: 1.191 MB / 0.4961 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002004/0.1765, allocations: 1.709 MB / 0.4978 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000466/0.1769, allocations: 236 kB / 0.498 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001679/0.1786, allocations: 0.9361 MB / 0.4989 GB, free: 6.934 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001471/0.1801, allocations: 1.574 MB / 0.5005 GB, free: 5.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001833/0.1819, allocations: 1.867 MB / 0.5023 GB, free: 3.477 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2506/0.4325, allocations: 6.179 MB / 0.5083 GB, free: 19.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.423e-06/0.4326, allocations: 1.062 kB / 0.5083 GB, free: 19.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4326, allocations: 0 / 0.5083 GB, free: 19.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002357/0.4328, allocations: 0 / 0.5083 GB, free: 19.28 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.01107/0.4439, allocations: 4.122 MB / 0.5124 GB, free: 17.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.4439, allocations: 11.58 kB / 0.5124 GB, free: 17.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01102/0.455, allocations: 3.078 MB / 0.5154 GB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007671/0.4627, allocations: 1.869 MB / 0.5172 GB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002248/0.4629, allocations: 191.5 kB / 0.5174 GB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001223/0.4642, allocations: 253.8 kB / 0.5176 GB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0174/0.4816, allocations: 10.48 MB / 0.5279 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001016/0.4817, allocations: 29.44 kB / 0.5279 GB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004094/0.4822, allocations: 121.4 kB / 0.528 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00384/0.486, allocations: 2.548 MB / 0.5305 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01566/0.5017, allocations: 9.92 MB / 0.5402 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0526/0.5543, allocations: 34.26 MB / 0.5736 GB, free: 5.184 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009825/0.5642, allocations: 5.187 MB / 0.5787 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003267/0.5675, allocations: 2.296 MB / 0.581 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001806/0.5693, allocations: 1.882 MB / 0.5828 GB, free: 11.28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/0.5694, allocations: 51.94 kB / 0.5828 GB, free: 11.22 MB / 430.1 MB Notification: Performance of pre-optimization done (n=229): time 4.368e-06/0.5694, allocations: 0 / 0.5828 GB, free: 11.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=235): time 0.03029/0.5997, allocations: 13.97 MB / 0.5965 GB, free: 13.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.5998, allocations: 73.41 kB / 0.5966 GB, free: 13.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003847/0.6036, allocations: 2.632 MB / 0.5991 GB, free: 10.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001692/0.6038, allocations: 53.7 kB / 0.5992 GB, free: 10.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001683/0.6055, allocations: 2.63 MB / 0.6017 GB, free: 7.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007536/0.6063, allocations: 0.8505 MB / 0.6026 GB, free: 6.977 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001352/0.6076, allocations: 1.043 MB / 0.6036 GB, free: 5.926 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.6077, allocations: 301.1 kB / 0.6039 GB, free: 5.629 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002926/0.6107, allocations: 2.204 MB / 0.606 GB, free: 3.418 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004756/0.6154, allocations: 5.078 MB / 0.611 GB, free: 12.99 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00866/0.6241, allocations: 7.975 MB / 0.6188 GB, free: 4.023 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.837e-05/0.6242, allocations: 28 kB / 0.6188 GB, free: 3.996 MB / 462.1 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01253/0.6367, allocations: 7.883 MB / 0.6265 GB, free: 12.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.801e-05/0.6368, allocations: 49.31 kB / 0.6266 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000108/0.6369, allocations: 100 kB / 0.6267 GB, free: 12.35 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00206/0.639, allocations: 0.7891 MB / 0.6274 GB, free: 11.56 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003484/0.6425, allocations: 1.189 MB / 0.6286 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005695/0.6482, allocations: 4.526 MB / 0.633 GB, free: 5.711 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003239/0.6515, allocations: 291.7 kB / 0.6333 GB, free: 5.426 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000483/0.652, allocations: 302 kB / 0.6336 GB, free: 5.133 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.003236/0.6552, allocations: 2.027 MB / 0.6355 GB, free: 3.102 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004622/0.6557, allocations: 260.6 kB / 0.6358 GB, free: 2.844 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007458/0.6631, allocations: 4.72 MB / 0.6404 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-05/0.6632, allocations: 43.98 kB / 0.6404 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.6632, allocations: 4 kB / 0.6405 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/0.6633, allocations: 15.91 kB / 0.6405 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0173/0.6806, allocations: 10.51 MB / 0.6507 GB, free: 3.418 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.6806, allocations: 4 kB / 0.6507 GB, free: 3.414 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00139/0.682, allocations: 367.4 kB / 0.6511 GB, free: 3.055 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001857/0.6839, allocations: 0.6563 MB / 0.6517 GB, free: 2.395 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001508/0.684, allocations: 50.27 kB / 0.6518 GB, free: 2.348 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004666/0.6887, allocations: 3.893 MB / 0.6556 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.826e-06/0.6887, allocations: 11.94 kB / 0.6556 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009581/0.6983, allocations: 7.139 MB / 0.6626 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008024/0.6992, allocations: 306.1 kB / 0.6628 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003356/0.6995, allocations: 43.98 kB / 0.6629 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.7006, allocations: 137.2 kB / 0.663 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003165/0.7009, allocations: 135.7 kB / 0.6632 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000164/0.7011, allocations: 63.98 kB / 0.6632 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002463/0.7036, allocations: 1.623 MB / 0.6648 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.7036, allocations: 0 / 0.6648 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003945/0.7075, allocations: 0.9126 MB / 0.6657 GB, free: 3.82 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.0004442/0.708, allocations: 182.1 kB / 0.6659 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007511/0.7155, allocations: 5.38 MB / 0.6711 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/0.7155, allocations: 0.5 kB / 0.6711 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002484/0.718, allocations: 2.023 MB / 0.6731 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/0.7199, allocations: 367.4 kB / 0.6734 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/0.7345, allocations: 9.323 MB / 0.6825 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003559/0.7381, allocations: 3.163 MB / 0.6856 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00408/0.7422, allocations: 1.957 MB / 0.6875 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006705/0.7428, allocations: 203.4 kB / 0.6877 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of SimCode: time 2.385e-06/0.7429, allocations: 0 / 0.6877 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.05278/0.7956, allocations: 26.92 MB / 0.714 GB, free: 2.422 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 cvode -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