Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.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.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00135/0.001349, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001154/0.001154, allocations: 205.8 kB / 18.13 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2101/0.2101, allocations: 46.1 MB / 343.6 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 76.66 kB / 416.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1071, allocations: 62.45 MB / 479.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.01027/0.1174, allocations: 9.174 MB / 488.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005408/0.1228, allocations: 2.399 MB / 491 MB, free: 9.988 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001604/0.1245, allocations: 31.94 kB / 491 MB, free: 9.957 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001474/0.126, allocations: 0.5023 MB / 491.5 MB, free: 9.453 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.1277, allocations: 0.6423 MB / 492.1 MB, free: 8.809 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.1278, allocations: 12 kB / 492.1 MB, free: 8.797 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002619/0.1305, allocations: 2.037 MB / 494.2 MB, free: 6.758 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/0.132, allocations: 0.7189 MB / 494.9 MB, free: 6.023 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009057/0.1329, allocations: 418.1 kB / 495.3 MB, free: 5.613 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001387/0.1343, allocations: 0.7356 MB / 496 MB, free: 4.875 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003401/0.1347, allocations: 60 kB / 496.1 MB, free: 4.816 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008179/0.1355, allocations: 299.5 kB / 496.4 MB, free: 4.523 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007457/0.1363, allocations: 0.6425 MB / 497 MB, free: 3.879 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.1373, allocations: 0.8147 MB / 497.8 MB, free: 3.059 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002296/0.1396, allocations: 2.48 MB / 0.4886 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1397, allocations: 0 / 0.4886 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1397, allocations: 0 / 0.4886 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.339e-05/0.1397, allocations: 0 / 0.4886 GB, free: 0.5703 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 706 * Number of variables: 706 Notification: Performance of Generate backend data structure: time 0.003214/0.143, allocations: 1.963 MB / 0.4905 GB, free: 14.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.143, allocations: 12.88 kB / 0.4905 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004915/0.1435, allocations: 344.1 kB / 0.4909 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004768/0.1483, allocations: 1.472 MB / 0.4923 GB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.1497, allocations: 0.8434 MB / 0.4931 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.458e-05/0.1498, allocations: 86.02 kB / 0.4932 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002421/0.1501, allocations: 99.86 kB / 0.4933 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005345/0.1554, allocations: 4.622 MB / 0.4978 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.649e-05/0.1555, allocations: 19.81 kB / 0.4978 GB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001846/0.1556, allocations: 59.91 kB / 0.4979 GB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001581/0.1572, allocations: 1.107 MB / 0.499 GB, free: 5.438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00603/0.1633, allocations: 4 MB / 0.5029 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2475/0.4108, allocations: 18.49 MB / 0.5209 GB, free: 25.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/0.4127, allocations: 1.177 MB / 0.5221 GB, free: 25.06 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006732/0.4134, allocations: 343.4 kB / 0.5224 GB, free: 24.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.4134, allocations: 12.38 kB / 0.5224 GB, free: 24.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.4135, allocations: 33.89 kB / 0.5224 GB, free: 24.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 4.719e-06/0.4135, allocations: 0 / 0.5224 GB, free: 24.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.002138/0.4156, allocations: 1.029 MB / 0.5235 GB, free: 24.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/0.4157, allocations: 114.3 kB / 0.5236 GB, free: 24.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004177/0.4199, allocations: 2.191 MB / 0.5257 GB, free: 23.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/0.42, allocations: 36.2 kB / 0.5257 GB, free: 23.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001299/0.4213, allocations: 1.622 MB / 0.5273 GB, free: 22.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003389/0.4216, allocations: 265.3 kB / 0.5276 GB, free: 22.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001578/0.4232, allocations: 0.6721 MB / 0.5282 GB, free: 21.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.4234, allocations: 354.2 kB / 0.5286 GB, free: 21.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001957/0.4254, allocations: 0.8965 MB / 0.5294 GB, free: 21.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00317/0.4286, allocations: 3.168 MB / 0.5325 GB, free: 17.69 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00437/0.433, allocations: 4.445 MB / 0.5369 GB, free: 13.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.442e-05/0.4331, allocations: 24.5 kB / 0.5369 GB, free: 13.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.005271/0.4384, allocations: 3.844 MB / 0.5407 GB, free: 12.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.209e-05/0.4384, allocations: 39.28 kB / 0.5407 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-05/0.4385, allocations: 82.56 kB / 0.5408 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.143e-05/0.4386, allocations: 102.7 kB / 0.5409 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/0.4402, allocations: 0.7538 MB / 0.5416 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.717e-05/0.4403, allocations: 163.4 kB / 0.5418 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/0.4422, allocations: 494.8 kB / 0.5422 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001894/0.4424, allocations: 209.8 kB / 0.5424 GB, free: 11.58 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 371 * Number of states: 0 () * Number of discrete variables: 12 (world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (410): * Single equations (assignments): 407 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001019/0.4434, allocations: 1.098 MB / 0.5435 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.4436, allocations: 169.9 kB / 0.5437 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/0.4439, allocations: 200.3 kB / 0.5439 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.4439, allocations: 7.906 kB / 0.5439 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.4439, allocations: 3.938 kB / 0.5439 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.4439, allocations: 3.984 kB / 0.5439 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/0.4463, allocations: 2.024 MB / 0.5459 GB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.4463, allocations: 0 / 0.5459 GB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.4466, allocations: 69.95 kB / 0.5459 GB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.4466, allocations: 0 / 0.5459 GB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.4466, allocations: 8 kB / 0.5459 GB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.4466, allocations: 4 kB / 0.5459 GB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4466, allocations: 0 / 0.5459 GB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007503/0.4474, allocations: 1.037 MB / 0.5469 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/0.4475, allocations: 230.8 kB / 0.5472 GB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.4477, allocations: 8 kB / 0.5472 GB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004605/0.4482, allocations: 27.91 kB / 0.5472 GB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-05/0.4482, allocations: 23.97 kB / 0.5472 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.4483, allocations: 12 kB / 0.5472 GB, free: 7.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00127/0.4495, allocations: 1.367 MB / 0.5486 GB, free: 6.398 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4495, allocations: 0 / 0.5486 GB, free: 6.398 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001803/0.4514, allocations: 499.8 kB / 0.549 GB, free: 5.914 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * 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 (36): * Single equations (assignments): 33 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009981/0.4524, allocations: 1.644 MB / 0.5506 GB, free: 4.246 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001945/0.4543, allocations: 2.025 MB / 0.5526 GB, free: 2.242 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4543, allocations: 0 / 0.5526 GB, free: 2.242 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000286/0.4546, allocations: 338.5 kB / 0.5529 GB, free: 1.914 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008771/0.4555, allocations: 161.2 kB / 0.5531 GB, free: 1.754 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02565/0.4812, allocations: 22.18 MB / 0.5748 GB, free: 8.223 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001574/0.4828, allocations: 1.794 MB / 0.5765 GB, free: 6.395 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00257/0.4854, allocations: 1.109 MB / 0.5776 GB, free: 5.281 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008929/0.4863, allocations: 0.7297 MB / 0.5783 GB, free: 4.555 MB / 414.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4863, allocations: 0 / 0.5783 GB, free: 4.555 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0449/0.5312, allocations: 27.9 MB / 0.6056 GB, free: 8.816 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/0.5314, allocations: 215.8 kB / 0.6058 GB, free: 8.551 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.678/3.21, allocations: 0 / 0.6058 GB, free: 8.551 MB / 446.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/VoluminousWheel/VoluminousWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches