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.001429/0.001428, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001526/0.001526, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.4 MB / 246.9 MB, free: 9.043 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2091/0.2091, allocations: 46.1 MB / 344.3 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 81.02 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1027, allocations: 62.44 MB / 479.9 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.02688/0.1296, allocations: 29.54 MB / 0.4975 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01352/0.1432, allocations: 6.773 MB / 0.5041 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004383/0.1476, allocations: 119.8 kB / 0.5043 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1984/0.346, allocations: 1.266 MB / 0.5055 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004436/0.3506, allocations: 1.604 MB / 0.5071 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.3519, allocations: 460.8 kB / 0.5075 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007422/0.3593, allocations: 5.026 MB / 0.5124 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004562/0.364, allocations: 1.974 MB / 0.5143 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002879/0.3669, allocations: 1.037 MB / 0.5154 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00363/0.3705, allocations: 1.8 MB / 0.5171 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00116/0.3717, allocations: 167.5 kB / 0.5173 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00292/0.3747, allocations: 0.9258 MB / 0.5182 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002552/0.3772, allocations: 1.526 MB / 0.5197 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003775/0.381, allocations: 1.819 MB / 0.5214 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005815/0.3869, allocations: 4.774 MB / 0.5261 GB, free: 7.359 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.3869, allocations: 0 / 0.5261 GB, free: 7.359 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3869, allocations: 1.812 kB / 0.5261 GB, free: 7.359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000267/0.3872, allocations: 0 / 0.5261 GB, free: 7.359 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.01113/0.3983, allocations: 4.132 MB / 0.5301 GB, free: 4.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.3984, allocations: 10.47 kB / 0.5301 GB, free: 4.547 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009921/0.4084, allocations: 3.067 MB / 0.5331 GB, free: 2.961 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003904/0.4123, allocations: 1.86 MB / 0.535 GB, free: 1.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000174/0.4125, allocations: 187.1 kB / 0.5351 GB, free: 1.867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001186/0.4137, allocations: 250.5 kB / 0.5354 GB, free: 1.824 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01847/0.4322, allocations: 10.49 MB / 0.5456 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001285/0.4323, allocations: 31.25 kB / 0.5456 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009476/0.4333, allocations: 117.3 kB / 0.5458 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004321/0.4376, allocations: 2.553 MB / 0.5483 GB, free: 6.852 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01947/0.4571, allocations: 9.915 MB / 0.5579 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0516/0.5088, allocations: 34.47 MB / 0.5916 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009724/0.5186, allocations: 5.188 MB / 0.5967 GB, free: 4.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003187/0.5218, allocations: 2.291 MB / 0.5989 GB, free: 2.551 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001656/0.5235, allocations: 1.876 MB / 0.6007 GB, free: 364 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.849e-05/0.5235, allocations: 55.19 kB / 0.6008 GB, free: 300 kB / 446.1 MB Notification: Performance of pre-optimization done (n=229): time 5.901e-06/0.5235, allocations: 0 / 0.6008 GB, free: 300 kB / 446.1 MB Notification: Performance of matching and sorting (n=235): time 0.03495/0.5585, allocations: 13.98 MB / 0.6144 GB, free: 2.285 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.5586, allocations: 77.41 kB / 0.6145 GB, free: 2.195 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004275/0.5629, allocations: 2.629 MB / 0.6171 GB, free: 15.55 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003224/0.5632, allocations: 53.7 kB / 0.6171 GB, free: 15.49 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001788/0.565, allocations: 2.64 MB / 0.6197 GB, free: 12.84 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001053/0.5661, allocations: 0.8389 MB / 0.6205 GB, free: 12.01 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001851/0.568, allocations: 1.039 MB / 0.6215 GB, free: 10.96 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.5681, allocations: 301.1 kB / 0.6218 GB, free: 10.67 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003345/0.5714, allocations: 2.204 MB / 0.624 GB, free: 8.457 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005346/0.5768, allocations: 5.076 MB / 0.6289 GB, free: 2.027 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009332/0.5861, allocations: 7.972 MB / 0.6367 GB, free: 8.945 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-05/0.5863, allocations: 32 kB / 0.6368 GB, free: 8.914 MB / 494.1 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01444/0.6007, allocations: 7.894 MB / 0.6445 GB, free: 1.004 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.6009, allocations: 48 kB / 0.6445 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001662/0.6011, allocations: 100 kB / 0.6446 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002362/0.6034, allocations: 0.7969 MB / 0.6454 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004001/0.6074, allocations: 1.181 MB / 0.6465 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0056/0.6131, allocations: 4.202 MB / 0.6506 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003536/0.6166, allocations: 291.8 kB / 0.6509 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009312/0.6176, allocations: 306.6 kB / 0.6512 GB, free: 9.965 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.004182/0.6218, allocations: 2.016 MB / 0.6532 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006105/0.6224, allocations: 260.6 kB / 0.6534 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008251/0.6307, allocations: 4.728 MB / 0.658 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.86e-05/0.6308, allocations: 50.64 kB / 0.6581 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/0.6308, allocations: 4 kB / 0.6581 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.159e-05/0.6308, allocations: 15.91 kB / 0.6581 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02073/0.6516, allocations: 10.54 MB / 0.6684 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.387e-05/0.6516, allocations: 12.05 kB / 0.6684 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001644/0.6533, allocations: 359.4 kB / 0.6688 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002058/0.6553, allocations: 0.656 MB / 0.6694 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000335/0.6557, allocations: 43.98 kB / 0.6694 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004777/0.6605, allocations: 3.655 MB / 0.673 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.08e-05/0.6605, allocations: 11.94 kB / 0.673 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01124/0.6718, allocations: 7.129 MB / 0.68 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007109/0.6725, allocations: 301.7 kB / 0.6803 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007064/0.6733, allocations: 46.95 kB / 0.6803 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/0.6748, allocations: 139.8 kB / 0.6805 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004111/0.6752, allocations: 137.2 kB / 0.6806 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002085/0.6754, allocations: 67.98 kB / 0.6806 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00311/0.6785, allocations: 1.611 MB / 0.6822 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3e-07/0.6786, allocations: 7.938 kB / 0.6822 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005282/0.6839, allocations: 0.917 MB / 0.6831 GB, free: 8.859 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.0007564/0.6846, allocations: 170.4 kB / 0.6833 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009166/0.6938, allocations: 5.349 MB / 0.6885 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/0.6939, allocations: 0 / 0.6885 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003458/0.6973, allocations: 2.026 MB / 0.6905 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003024/0.7004, allocations: 361.4 kB / 0.6908 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02182/0.7222, allocations: 11.87 MB / 0.7024 GB, free: 4.984 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005259/0.7275, allocations: 3.171 MB / 0.7055 GB, free: 1.781 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001308/0.7289, allocations: 247.3 kB / 0.7058 GB, free: 1.539 MB / 0.545 GB Notification: Performance of SimCode: time 7.22e-07/0.7289, allocations: 0 / 0.7058 GB, free: 1.539 MB / 0.545 GB Notification: Performance of Templates: time 0.2884/1.017, allocations: 70.05 MB / 0.7742 GB, free: 149.1 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