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: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001562/0.001562, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001909/0.001909, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 246.9 MB, free: 10.48 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.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002076, allocations: 75.88 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.354, allocations: 62.43 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01405/0.3681, allocations: 12.28 MB / 0.5425 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009273/0.3774, allocations: 3.936 MB / 0.5464 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002429/0.3799, allocations: 61.62 kB / 0.5464 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003598/0.3835, allocations: 1.316 MB / 0.5477 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005138/0.3887, allocations: 1.719 MB / 0.5494 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.3904, allocations: 0.4911 MB / 0.5499 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006074/0.3965, allocations: 3.606 MB / 0.5534 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003315/0.3999, allocations: 2.003 MB / 0.5553 GB, free: 8.262 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002322/0.4023, allocations: 1.199 MB / 0.5565 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002643/0.4049, allocations: 1.705 MB / 0.5582 GB, free: 5.348 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009428/0.4059, allocations: 236 kB / 0.5584 GB, free: 5.117 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002727/0.4086, allocations: 0.9438 MB / 0.5593 GB, free: 4.172 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002202/0.4109, allocations: 1.574 MB / 0.5609 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003168/0.4141, allocations: 1.867 MB / 0.5627 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007709/0.4218, allocations: 6.184 MB / 0.5687 GB, free: 10.51 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.14e-05/0.4219, allocations: 4 kB / 0.5687 GB, free: 10.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.4219, allocations: 3.938 kB / 0.5687 GB, free: 10.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000214/0.4221, allocations: 0 / 0.5687 GB, free: 10.5 MB / 430.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.01042/0.4325, allocations: 4.136 MB / 0.5728 GB, free: 6.297 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.387e-05/0.4326, allocations: 12.03 kB / 0.5728 GB, free: 6.285 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002119/0.4347, allocations: 0.7044 MB / 0.5735 GB, free: 5.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/0.446, allocations: 3.091 MB / 0.5765 GB, free: 2.469 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005389/0.4514, allocations: 2.099 MB / 0.5785 GB, free: 328 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001861/0.4516, allocations: 185 kB / 0.5787 GB, free: 140 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001049/0.4527, allocations: 251.7 kB / 0.5789 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01739/0.4701, allocations: 10.48 MB / 0.5892 GB, free: 4.969 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001134/0.4703, allocations: 31.73 kB / 0.5892 GB, free: 4.938 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007176/0.471, allocations: 119.8 kB / 0.5893 GB, free: 4.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004469/0.4755, allocations: 2.545 MB / 0.5918 GB, free: 2.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01892/0.4944, allocations: 9.919 MB / 0.6015 GB, free: 8.34 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05297/0.5474, allocations: 34.27 MB / 0.635 GB, free: 5.234 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009615/0.5571, allocations: 5.181 MB / 0.64 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003242/0.5604, allocations: 2.289 MB / 0.6423 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001878/0.5623, allocations: 1.888 MB / 0.6441 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.872e-05/0.5624, allocations: 56.5 kB / 0.6442 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 6.032e-06/0.5624, allocations: 4 kB / 0.6442 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03414/0.5965, allocations: 13.99 MB / 0.6578 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.5966, allocations: 69.41 kB / 0.6579 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003737/0.6004, allocations: 2.639 MB / 0.6605 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003642/0.6008, allocations: 57.69 kB / 0.6605 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002052/0.6028, allocations: 2.632 MB / 0.6631 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001178/0.604, allocations: 0.8517 MB / 0.6639 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001725/0.6058, allocations: 1.036 MB / 0.6649 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.6059, allocations: 301.1 kB / 0.6652 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003444/0.6094, allocations: 2.196 MB / 0.6674 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006395/0.6158, allocations: 5.063 MB / 0.6723 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01037/0.6262, allocations: 7.953 MB / 0.6801 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-05/0.6263, allocations: 28 kB / 0.6801 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01508/0.6414, allocations: 7.871 MB / 0.6878 GB, free: 11.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.733e-05/0.6415, allocations: 48.94 kB / 0.6878 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001285/0.6417, allocations: 100 kB / 0.6879 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002498/0.6442, allocations: 0.7944 MB / 0.6887 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004067/0.6483, allocations: 1.181 MB / 0.6899 GB, free: 9.445 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006272/0.6546, allocations: 4.504 MB / 0.6943 GB, free: 4.805 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003515/0.6581, allocations: 291.9 kB / 0.6945 GB, free: 4.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001008/0.6592, allocations: 308 kB / 0.6948 GB, free: 4.219 MB / 0.545 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 (631): * Single equations (assignments): 624 * 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.004216/0.6634, allocations: 2.016 MB / 0.6968 GB, free: 2.195 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005414/0.6639, allocations: 264.5 kB / 0.6971 GB, free: 1.934 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008981/0.6729, allocations: 4.725 MB / 0.7017 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.849e-05/0.6731, allocations: 48.08 kB / 0.7017 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.6731, allocations: 7.875 kB / 0.7017 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.905e-05/0.6731, allocations: 7.969 kB / 0.7017 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0213/0.6944, allocations: 10.5 MB / 0.712 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.76e-05/0.6945, allocations: 4.906 kB / 0.712 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001781/0.6963, allocations: 367.3 kB / 0.7123 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002175/0.6985, allocations: 0.6561 MB / 0.713 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004268/0.699, allocations: 40 kB / 0.713 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0053/0.7043, allocations: 3.906 MB / 0.7168 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-06/0.7043, allocations: 11.94 kB / 0.7168 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01164/0.716, allocations: 7.132 MB / 0.7238 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008632/0.7169, allocations: 309.6 kB / 0.7241 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008478/0.7178, allocations: 47.97 kB / 0.7242 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00162/0.7194, allocations: 135.8 kB / 0.7243 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004827/0.7199, allocations: 137 kB / 0.7244 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002063/0.7201, allocations: 64.27 kB / 0.7245 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003079/0.7232, allocations: 1.619 MB / 0.7261 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7232, allocations: 0 / 0.7261 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004852/0.7281, allocations: 0.9179 MB / 0.727 GB, free: 2.832 MB / 0.5762 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.2496/0.9778, allocations: 7.783 MB / 0.7346 GB, free: 176.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008012/0.9858, allocations: 5.378 MB / 0.7398 GB, free: 174.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/0.9859, allocations: 0 / 0.7398 GB, free: 174.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0026/0.9885, allocations: 2.025 MB / 0.7418 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/0.9907, allocations: 360.4 kB / 0.7421 GB, free: 174 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04622/1.037, allocations: 39.52 MB / 0.7807 GB, free: 139.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00264/1.04, allocations: 3.163 MB / 0.7838 GB, free: 136.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003256/1.043, allocations: 1.957 MB / 0.7857 GB, free: 134.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001695/1.045, allocations: 1.706 MB / 0.7874 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.233e-06/1.045, allocations: 0 / 0.7874 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08723/1.132, allocations: 55.33 MB / 0.8414 GB, free: 77.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.74/22.87, allocations: 9.484 kB / 0.8414 GB, free: 77.4 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute.fmu > 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