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.0009852/0.0009854, allocations: 96.5 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001251/0.001251, allocations: 207.8 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.7 MB / 247.5 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1897/0.1897, allocations: 46.19 MB / 345.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002809/0.0002813, allocations: 11.98 kB / 420.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1092, allocations: 63.55 MB / 483.7 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.02694/0.1362, allocations: 28.6 MB / 0.5003 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01411/0.1504, allocations: 6.721 MB / 0.5069 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004407/0.1548, allocations: 119.7 kB / 0.507 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001371/0.1562, allocations: 434.1 kB / 0.5074 GB, free: 196 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2181/0.3744, allocations: 1.62 MB / 0.509 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.3759, allocations: 453.7 kB / 0.5094 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007756/0.3837, allocations: 5.042 MB / 0.5144 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005923/0.3897, allocations: 2.407 MB / 0.5167 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002888/0.3926, allocations: 0.9508 MB / 0.5176 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003553/0.3962, allocations: 1.692 MB / 0.5193 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001012/0.3973, allocations: 130.6 kB / 0.5194 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002881/0.4002, allocations: 0.8948 MB / 0.5203 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002448/0.4026, allocations: 1.49 MB / 0.5217 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003691/0.4064, allocations: 1.781 MB / 0.5235 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006244/0.4126, allocations: 4.671 MB / 0.528 GB, free: 7.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4127, allocations: 4.781 kB / 0.528 GB, free: 7.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.4127, allocations: 4 kB / 0.528 GB, free: 7.086 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002589/0.4129, allocations: 0 / 0.528 GB, free: 7.086 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.009302/0.4222, allocations: 3.371 MB / 0.5313 GB, free: 4.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.4223, allocations: 10.47 kB / 0.5313 GB, free: 4.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01105/0.4334, allocations: 3.171 MB / 0.5344 GB, free: 3.414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004831/0.4382, allocations: 1.85 MB / 0.5363 GB, free: 2.652 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002316/0.4385, allocations: 191.2 kB / 0.5364 GB, free: 2.602 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00147/0.44, allocations: 247 kB / 0.5367 GB, free: 2.559 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02147/0.4615, allocations: 10.5 MB / 0.5469 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001602/0.4617, allocations: 20.28 kB / 0.5469 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001326/0.4631, allocations: 115.9 kB / 0.5471 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004908/0.468, allocations: 2.553 MB / 0.5495 GB, free: 7.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02262/0.4906, allocations: 9.932 MB / 0.5592 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0597/0.5504, allocations: 34.48 MB / 0.5929 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/0.5616, allocations: 5.186 MB / 0.598 GB, free: 5.613 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003695/0.5653, allocations: 2.295 MB / 0.6002 GB, free: 3.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001863/0.5672, allocations: 1.874 MB / 0.602 GB, free: 1.125 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.637e-05/0.5673, allocations: 52.56 kB / 0.6021 GB, free: 1.062 MB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 7.775e-06/0.5673, allocations: 1.641 kB / 0.6021 GB, free: 1.062 MB / 446.1 MB Notification: Performance of matching and sorting (n=235): time 0.0393/0.6066, allocations: 13.96 MB / 0.6157 GB, free: 3.074 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.6068, allocations: 73.34 kB / 0.6158 GB, free: 2.988 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005329/0.6121, allocations: 2.634 MB / 0.6184 GB, free: 340 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005512/0.6127, allocations: 58.22 kB / 0.6184 GB, free: 280 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002519/0.6152, allocations: 2.633 MB / 0.621 GB, free: 13.66 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001471/0.6167, allocations: 0.8544 MB / 0.6218 GB, free: 12.82 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001274/0.618, allocations: 464.1 kB / 0.6223 GB, free: 12.36 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.916e-05/0.6181, allocations: 305.1 kB / 0.6226 GB, free: 12.06 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003938/0.6221, allocations: 2.204 MB / 0.6247 GB, free: 9.848 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006724/0.6288, allocations: 5.069 MB / 0.6297 GB, free: 3.422 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01104/0.6399, allocations: 7.976 MB / 0.6375 GB, free: 10.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001241/0.6401, allocations: 28 kB / 0.6375 GB, free: 10.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01745/0.6576, allocations: 7.883 MB / 0.6452 GB, free: 2.305 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001284/0.6577, allocations: 44 kB / 0.6452 GB, free: 2.262 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001827/0.6579, allocations: 100.9 kB / 0.6453 GB, free: 2.164 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002549/0.6605, allocations: 0.7928 MB / 0.6461 GB, free: 1.367 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004691/0.6652, allocations: 1.181 MB / 0.6473 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006268/0.6715, allocations: 4.208 MB / 0.6514 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004194/0.6758, allocations: 299.8 kB / 0.6516 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00148/0.6773, allocations: 298.6 kB / 0.6519 GB, free: 11.27 MB / 0.4981 GB 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.005762/0.6831, allocations: 2.024 MB / 0.6539 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007701/0.6838, allocations: 256.6 kB / 0.6542 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009848/0.6937, allocations: 4.724 MB / 0.6588 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.544e-05/0.6938, allocations: 43.98 kB / 0.6588 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-05/0.6939, allocations: 4 kB / 0.6588 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-05/0.6939, allocations: 7.969 kB / 0.6588 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0228/0.7167, allocations: 10.56 MB / 0.6691 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.639e-05/0.7168, allocations: 8 kB / 0.6691 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001824/0.7186, allocations: 359.5 kB / 0.6695 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002155/0.7208, allocations: 0.6563 MB / 0.6701 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004175/0.7212, allocations: 40 kB / 0.6702 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005118/0.7264, allocations: 3.661 MB / 0.6737 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.239e-05/0.7264, allocations: 11.94 kB / 0.6737 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.013/0.7394, allocations: 7.13 MB / 0.6807 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009345/0.7404, allocations: 313.6 kB / 0.681 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00109/0.7415, allocations: 37.72 kB / 0.681 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001945/0.7435, allocations: 143.8 kB / 0.6812 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005144/0.744, allocations: 135.4 kB / 0.6813 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002756/0.7443, allocations: 64 kB / 0.6814 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003341/0.7477, allocations: 1.615 MB / 0.6829 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.41e-07/0.7477, allocations: 0 / 0.6829 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005844/0.7535, allocations: 0.9164 MB / 0.6838 GB, free: 10.16 MB / 0.5294 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.0008189/0.7544, allocations: 174.2 kB / 0.684 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009818/0.7642, allocations: 5.35 MB / 0.6892 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/0.7643, allocations: 0 / 0.6892 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003471/0.7678, allocations: 2.028 MB / 0.6912 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005227/0.773, allocations: 359.6 kB / 0.6916 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0231/0.7961, allocations: 11.94 MB / 0.7032 GB, free: 6.211 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004985/0.8012, allocations: 3.168 MB / 0.7063 GB, free: 3.012 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001192/0.8024, allocations: 247.4 kB / 0.7065 GB, free: 2.77 MB / 0.545 GB Notification: Performance of SimCode: time 6.42e-07/0.8024, allocations: 0 / 0.7065 GB, free: 2.77 MB / 0.545 GB Notification: Performance of Templates: time 0.315/1.117, allocations: 69.31 MB / 0.7742 GB, free: 149.4 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 -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