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.0009314/0.0009313, allocations: 91.77 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009779/0.0009781, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1917/0.1917, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002402/0.0002402, allocations: 8 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1185, allocations: 63.55 MB / 483.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.03601/0.1546, allocations: 28.61 MB / 0.4998 GB, free: 7.336 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01622/0.1708, allocations: 6.715 MB / 0.5063 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005414/0.1763, allocations: 119.7 kB / 0.5065 GB, free: 496 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001362/0.1777, allocations: 430.1 kB / 0.5069 GB, free: 64 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2237/0.4014, allocations: 1.622 MB / 0.5085 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.4028, allocations: 452.5 kB / 0.5089 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008837/0.4116, allocations: 5.025 MB / 0.5138 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004649/0.4163, allocations: 2.426 MB / 0.5162 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002049/0.4184, allocations: 0.9527 MB / 0.5171 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002998/0.4214, allocations: 1.69 MB / 0.5187 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005763/0.422, allocations: 134.5 kB / 0.5189 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002086/0.4241, allocations: 0.8972 MB / 0.5197 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001743/0.4259, allocations: 1.489 MB / 0.5212 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002207/0.4281, allocations: 1.788 MB / 0.5229 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006829/0.4349, allocations: 5.709 MB / 0.5285 GB, free: 5.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.435, allocations: 2.438 kB / 0.5285 GB, free: 5.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.435, allocations: 0 / 0.5285 GB, free: 5.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002016/0.4352, allocations: 0 / 0.5285 GB, free: 5.98 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.007578/0.4428, allocations: 3.381 MB / 0.5318 GB, free: 3.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.4428, allocations: 14.28 kB / 0.5318 GB, free: 3.805 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001716/0.4445, allocations: 0.7091 MB / 0.5325 GB, free: 3.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01045/0.455, allocations: 3.176 MB / 0.5356 GB, free: 2.086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004541/0.4596, allocations: 2.091 MB / 0.5377 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.4597, allocations: 186.3 kB / 0.5379 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007415/0.4605, allocations: 247.5 kB / 0.5381 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0187/0.4792, allocations: 10.5 MB / 0.5483 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001591/0.4794, allocations: 25.03 kB / 0.5484 GB, free: 8.129 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000873/0.4803, allocations: 117.2 kB / 0.5485 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004517/0.4848, allocations: 2.553 MB / 0.551 GB, free: 5.527 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01912/0.504, allocations: 9.925 MB / 0.5607 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05147/0.5555, allocations: 34.47 MB / 0.5943 GB, free: 8.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01048/0.566, allocations: 5.193 MB / 0.5994 GB, free: 3.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003549/0.5696, allocations: 2.286 MB / 0.6016 GB, free: 1.219 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00188/0.5715, allocations: 1.882 MB / 0.6035 GB, free: 15.01 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.231e-05/0.5716, allocations: 48.56 kB / 0.6035 GB, free: 14.96 MB / 462.1 MB Notification: Performance of pre-optimization done (n=229): time 6.973e-06/0.5716, allocations: 4 kB / 0.6035 GB, free: 14.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=235): time 0.03553/0.6071, allocations: 13.95 MB / 0.6171 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.6072, allocations: 81.34 kB / 0.6172 GB, free: 0.875 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004816/0.612, allocations: 2.631 MB / 0.6198 GB, free: 14.22 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003326/0.6124, allocations: 57.7 kB / 0.6198 GB, free: 14.16 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002069/0.6145, allocations: 2.633 MB / 0.6224 GB, free: 11.52 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001085/0.6156, allocations: 0.8414 MB / 0.6232 GB, free: 10.69 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009328/0.6165, allocations: 469.2 kB / 0.6237 GB, free: 10.23 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.6166, allocations: 303.4 kB / 0.624 GB, free: 9.93 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003603/0.6202, allocations: 2.196 MB / 0.6261 GB, free: 7.727 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005753/0.626, allocations: 5.064 MB / 0.6311 GB, free: 1.309 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01001/0.636, allocations: 7.962 MB / 0.6388 GB, free: 8.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001659/0.6362, allocations: 28 kB / 0.6389 GB, free: 8.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01526/0.6515, allocations: 7.86 MB / 0.6465 GB, free: 188 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.6516, allocations: 48 kB / 0.6466 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001623/0.6518, allocations: 104 kB / 0.6467 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002452/0.6543, allocations: 0.7928 MB / 0.6475 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0042/0.6585, allocations: 1.178 MB / 0.6486 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005913/0.6644, allocations: 4.202 MB / 0.6527 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00366/0.6681, allocations: 299.8 kB / 0.653 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009013/0.669, allocations: 299 kB / 0.6533 GB, free: 9.145 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 (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.004815/0.6738, allocations: 2.016 MB / 0.6553 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005546/0.6744, allocations: 256.6 kB / 0.6555 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009077/0.6835, allocations: 4.735 MB / 0.6601 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.657e-05/0.6836, allocations: 43.61 kB / 0.6602 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/0.6836, allocations: 7.938 kB / 0.6602 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.058e-05/0.6836, allocations: 11.95 kB / 0.6602 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02079/0.7044, allocations: 10.55 MB / 0.6705 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.259e-05/0.7045, allocations: 8 kB / 0.6705 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001665/0.7062, allocations: 359.4 kB / 0.6708 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002208/0.7084, allocations: 0.6566 MB / 0.6715 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003141/0.7087, allocations: 40 kB / 0.6715 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005621/0.7144, allocations: 3.652 MB / 0.6751 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/0.7144, allocations: 11.94 kB / 0.6751 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01281/0.7272, allocations: 7.131 MB / 0.6821 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008541/0.7281, allocations: 313.7 kB / 0.6824 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007292/0.7289, allocations: 41.16 kB / 0.6824 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001859/0.7307, allocations: 141 kB / 0.6825 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004403/0.7312, allocations: 133 kB / 0.6827 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002135/0.7314, allocations: 65.16 kB / 0.6827 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003707/0.7351, allocations: 1.631 MB / 0.6843 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.01e-07/0.7352, allocations: 288 / 0.6843 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005521/0.7407, allocations: 0.9041 MB / 0.6852 GB, free: 8.039 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.01143/0.7522, allocations: 7.783 MB / 0.6928 GB, free: 136 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00826/0.7605, allocations: 5.339 MB / 0.698 GB, free: 10.81 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.7605, allocations: 0 / 0.698 GB, free: 10.81 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002855/0.7634, allocations: 2.024 MB / 0.7 GB, free: 8.773 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004542/0.7679, allocations: 360.5 kB / 0.7003 GB, free: 8.426 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.269/1.037, allocations: 44.3 MB / 0.7436 GB, free: 176.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003061/1.04, allocations: 3.169 MB / 0.7467 GB, free: 175 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003825/1.044, allocations: 1.952 MB / 0.7486 GB, free: 174.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001667/1.046, allocations: 1.702 MB / 0.7503 GB, free: 173.3 MB / 0.545 GB Notification: Performance of SimCode: time 6.31e-07/1.046, allocations: 7.391 kB / 0.7503 GB, free: 173.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07247/1.118, allocations: 55.35 MB / 0.8043 GB, free: 118.4 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/1.118, allocations: 217.7 kB / 0.8045 GB, free: 118.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.385/4.503, allocations: 0 / 0.8045 GB, free: 118.1 MB / 0.545 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