Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 108.1 kB / 17.21 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 241.8 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2027/0.2027, allocations: 44.18 MB / 336.1 MB, free: 3.035 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 61.81 kB / 407.8 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1152, allocations: 60.82 MB / 468.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.009925/0.1252, allocations: 9.22 MB / 477.8 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004533/0.1297, allocations: 2.368 MB / 480.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.1308, allocations: 31.94 kB / 480.2 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.132, allocations: 494.4 kB / 480.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.1335, allocations: 0.6501 MB / 481.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000126/0.1337, allocations: 11.98 kB / 481.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002132/0.1358, allocations: 2.056 MB / 483.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.1369, allocations: 0.7306 MB / 484.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00066/0.1376, allocations: 426.1 kB / 484.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000945/0.1385, allocations: 0.7433 MB / 485.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002263/0.1388, allocations: 60 kB / 485.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006414/0.1394, allocations: 295.5 kB / 485.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006168/0.1401, allocations: 0.6543 MB / 486.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008578/0.1409, allocations: 0.8186 MB / 487.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002299/0.1432, allocations: 2.523 MB / 489.7 MB, free: 9.625 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1433, allocations: 0 / 489.7 MB, free: 9.625 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1433, allocations: 4 kB / 489.7 MB, free: 9.621 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.57e-05/0.1434, allocations: 0 / 489.7 MB, free: 9.621 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.003221/0.1466, allocations: 1.975 MB / 491.6 MB, free: 7.594 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1466, allocations: 12.03 kB / 491.7 MB, free: 7.582 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004462/0.1471, allocations: 344.1 kB / 492 MB, free: 7.238 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004636/0.1517, allocations: 1.472 MB / 493.5 MB, free: 5.762 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.1532, allocations: 0.8512 MB / 494.3 MB, free: 4.871 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.371e-05/0.1533, allocations: 82.05 kB / 494.4 MB, free: 4.789 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002466/0.1536, allocations: 95.91 kB / 494.5 MB, free: 4.695 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005479/0.1591, allocations: 4.622 MB / 499.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.376e-05/0.1591, allocations: 23.8 kB / 499.1 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001882/0.1593, allocations: 55.92 kB / 499.2 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001617/0.1609, allocations: 1.111 MB / 0.4886 GB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006147/0.1671, allocations: 4 MB / 0.4925 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2154/0.3825, allocations: 18.48 MB / 0.5105 GB, free: 34.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/0.384, allocations: 1.175 MB / 0.5117 GB, free: 34.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005877/0.3847, allocations: 339.6 kB / 0.512 GB, free: 34.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.3847, allocations: 6.406 kB / 0.512 GB, free: 34.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.3847, allocations: 38.34 kB / 0.512 GB, free: 34.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 4.498e-06/0.3848, allocations: 3.75 kB / 0.512 GB, free: 34.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.002174/0.3869, allocations: 1.03 MB / 0.5131 GB, free: 34.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.387, allocations: 115.9 kB / 0.5132 GB, free: 33.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004592/0.3916, allocations: 2.203 MB / 0.5153 GB, free: 33.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.3917, allocations: 36.12 kB / 0.5153 GB, free: 33.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001213/0.3929, allocations: 1.622 MB / 0.5169 GB, free: 31.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003322/0.3932, allocations: 264.8 kB / 0.5172 GB, free: 31.76 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001168/0.3944, allocations: 0.6757 MB / 0.5178 GB, free: 31.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3946, allocations: 361.9 kB / 0.5182 GB, free: 31.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001653/0.3962, allocations: 0.8964 MB / 0.5191 GB, free: 30.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002607/0.3988, allocations: 3.166 MB / 0.5222 GB, free: 27.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003918/0.4028, allocations: 4.446 MB / 0.5265 GB, free: 23.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.503e-05/0.4028, allocations: 23.38 kB / 0.5265 GB, free: 23.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.00553/0.4084, allocations: 3.845 MB / 0.5303 GB, free: 21.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.607e-05/0.4084, allocations: 39.22 kB / 0.5303 GB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.531e-05/0.4085, allocations: 82.56 kB / 0.5304 GB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.742e-05/0.4086, allocations: 102 kB / 0.5305 GB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001736/0.4103, allocations: 0.7605 MB / 0.5312 GB, free: 21.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.546e-05/0.4104, allocations: 153.9 kB / 0.5314 GB, free: 21.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/0.4124, allocations: 492.7 kB / 0.5318 GB, free: 21.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002165/0.4127, allocations: 219.2 kB / 0.5321 GB, free: 21.46 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.001071/0.4137, allocations: 1.094 MB / 0.5331 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/0.4139, allocations: 164.5 kB / 0.5333 GB, free: 20.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.4142, allocations: 203.4 kB / 0.5335 GB, free: 20.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/0.4142, allocations: 10.58 kB / 0.5335 GB, free: 20.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.4142, allocations: 3.281 kB / 0.5335 GB, free: 20.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.4142, allocations: 3.516 kB / 0.5335 GB, free: 20.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002628/0.4168, allocations: 2.017 MB / 0.5355 GB, free: 19.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.4169, allocations: 3.469 kB / 0.5355 GB, free: 19.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.4171, allocations: 66.88 kB / 0.5355 GB, free: 19.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.4171, allocations: 3.656 kB / 0.5355 GB, free: 19.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.4172, allocations: 7.625 kB / 0.5355 GB, free: 19.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.4172, allocations: 7.719 kB / 0.5355 GB, free: 19.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.4172, allocations: 7.406 kB / 0.5356 GB, free: 19.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007894/0.418, allocations: 1.032 MB / 0.5366 GB, free: 19.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002143/0.4182, allocations: 232.7 kB / 0.5368 GB, free: 19.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.4183, allocations: 10.62 kB / 0.5368 GB, free: 19.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004647/0.4188, allocations: 25.73 kB / 0.5368 GB, free: 19.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/0.4189, allocations: 29.86 kB / 0.5368 GB, free: 19.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.259e-05/0.4189, allocations: 18.81 kB / 0.5369 GB, free: 19.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001371/0.4203, allocations: 1.374 MB / 0.5382 GB, free: 18.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4203, allocations: 4 kB / 0.5382 GB, free: 18.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001994/0.4223, allocations: 0.4904 MB / 0.5387 GB, free: 17.91 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.001141/0.4235, allocations: 1.636 MB / 0.5403 GB, free: 16.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002266/0.4257, allocations: 2.039 MB / 0.5423 GB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4258, allocations: 0 / 0.5423 GB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002881/0.426, allocations: 335.7 kB / 0.5426 GB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008956/0.4269, allocations: 165.2 kB / 0.5428 GB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0256/0.4526, allocations: 22.22 MB / 0.5645 GB, free: 4.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002185/0.4548, allocations: 1.783 MB / 0.5662 GB, free: 2.352 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00265/0.4575, allocations: 1.12 MB / 0.5673 GB, free: 1.227 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/0.4585, allocations: 0.7336 MB / 0.568 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4586, allocations: 0 / 0.568 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04546/0.504, allocations: 27.97 MB / 0.5953 GB, free: 4.727 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/0.5042, allocations: 213.8 kB / 0.5955 GB, free: 4.469 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.605/3.11, allocations: 0 / 0.5955 GB, free: 4.469 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_VoluminousWheel_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_VoluminousWheel.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches