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.001542/0.001542, allocations: 110.9 kB / 17.33 MB, free: 6.012 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.001752/0.001752, allocations: 193.3 kB / 18.25 MB, free: 5.102 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.345/1.345, allocations: 222.9 MB / 241.9 MB, free: 15.42 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.2063/0.2063, allocations: 44.17 MB / 336.2 MB, free: 2.867 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 65.55 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1109, allocations: 60.82 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.01065/0.1216, allocations: 9.209 MB / 478 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005145/0.1268, allocations: 2.348 MB / 480.4 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.1282, allocations: 31.94 kB / 480.4 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001493/0.1297, allocations: 482.4 kB / 480.9 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00184/0.1317, allocations: 0.645 MB / 481.5 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/0.1319, allocations: 15.97 kB / 481.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001931/0.1338, allocations: 1.472 MB / 483 MB, free: 380 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/0.1351, allocations: 0.7697 MB / 483.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008035/0.1359, allocations: 490 kB / 484.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001296/0.1372, allocations: 0.7785 MB / 485 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004055/0.1376, allocations: 88 kB / 485.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008637/0.1385, allocations: 319.5 kB / 485.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006895/0.1392, allocations: 0.6855 MB / 486.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008715/0.1401, allocations: 0.8459 MB / 487 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002385/0.1425, allocations: 2.562 MB / 489.5 MB, free: 9.816 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.1425, allocations: 0 / 489.5 MB, free: 9.816 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.1425, allocations: 7.938 kB / 489.5 MB, free: 9.809 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.1425, allocations: 0 / 489.5 MB, free: 9.809 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.002629/0.1452, allocations: 1.975 MB / 491.5 MB, free: 7.781 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.1452, allocations: 12.03 kB / 491.5 MB, free: 7.77 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003541/0.1456, allocations: 344.1 kB / 491.9 MB, free: 7.426 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00465/0.1502, allocations: 1.472 MB / 493.3 MB, free: 5.949 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.1516, allocations: 0.8473 MB / 494.2 MB, free: 5.062 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.065e-05/0.1517, allocations: 86.03 kB / 494.3 MB, free: 4.977 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001877/0.1519, allocations: 95.92 kB / 494.3 MB, free: 4.883 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005349/0.1572, allocations: 4.618 MB / 499 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.458e-05/0.1573, allocations: 23.8 kB / 499 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001556/0.1575, allocations: 59.91 kB / 499 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001611/0.1591, allocations: 1.111 MB / 0.4884 GB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00609/0.1652, allocations: 4 MB / 0.4923 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2438/0.409, allocations: 18.49 MB / 0.5104 GB, free: 34.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.4103, allocations: 1.175 MB / 0.5115 GB, free: 34.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004457/0.4107, allocations: 342.3 kB / 0.5119 GB, free: 34.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.4108, allocations: 3.406 kB / 0.5119 GB, free: 34.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.4108, allocations: 40.17 kB / 0.5119 GB, free: 34.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 2.575e-06/0.4108, allocations: 0 / 0.5119 GB, free: 34.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001643/0.4125, allocations: 1.029 MB / 0.5129 GB, free: 34.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.4125, allocations: 110.7 kB / 0.513 GB, free: 34.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003079/0.4156, allocations: 2.209 MB / 0.5152 GB, free: 33.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.4157, allocations: 30.95 kB / 0.5152 GB, free: 33.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008665/0.4165, allocations: 1.624 MB / 0.5168 GB, free: 31.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002063/0.4168, allocations: 265.4 kB / 0.517 GB, free: 31.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007255/0.4175, allocations: 0.672 MB / 0.5177 GB, free: 31.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.4176, allocations: 358.2 kB / 0.518 GB, free: 31.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/0.4189, allocations: 0.893 MB / 0.5189 GB, free: 30.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002331/0.4212, allocations: 3.168 MB / 0.522 GB, free: 27.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003729/0.425, allocations: 4.454 MB / 0.5264 GB, free: 23.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.928e-05/0.425, allocations: 22.81 kB / 0.5264 GB, free: 23.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.0053/0.4304, allocations: 3.842 MB / 0.5301 GB, free: 21.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.237e-05/0.4304, allocations: 43.16 kB / 0.5302 GB, free: 21.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.32e-05/0.4305, allocations: 79.97 kB / 0.5303 GB, free: 21.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.827e-05/0.4306, allocations: 110.3 kB / 0.5304 GB, free: 21.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001734/0.4323, allocations: 0.7534 MB / 0.5311 GB, free: 21.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.486e-05/0.4324, allocations: 155.4 kB / 0.5312 GB, free: 21.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002178/0.4346, allocations: 499.1 kB / 0.5317 GB, free: 21.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001982/0.4348, allocations: 211.8 kB / 0.5319 GB, free: 21.5 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.001153/0.436, allocations: 1.096 MB / 0.533 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.4362, allocations: 170.5 kB / 0.5332 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/0.4365, allocations: 207.6 kB / 0.5333 GB, free: 20.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.4365, allocations: 6.375 kB / 0.5334 GB, free: 20.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.4365, allocations: 3.125 kB / 0.5334 GB, free: 20.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4365, allocations: 0 / 0.5334 GB, free: 20.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/0.4389, allocations: 2.022 MB / 0.5353 GB, free: 19.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.4389, allocations: 0 / 0.5353 GB, free: 19.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002373/0.4391, allocations: 61.98 kB / 0.5354 GB, free: 19.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.4391, allocations: 7.75 kB / 0.5354 GB, free: 19.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.033e-05/0.4392, allocations: 7.75 kB / 0.5354 GB, free: 19.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.4392, allocations: 3.938 kB / 0.5354 GB, free: 19.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.4392, allocations: 7.562 kB / 0.5354 GB, free: 19.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008024/0.44, allocations: 1.029 MB / 0.5364 GB, free: 19.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001978/0.4402, allocations: 233.5 kB / 0.5366 GB, free: 19.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.4404, allocations: 10.52 kB / 0.5367 GB, free: 19.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004849/0.4409, allocations: 33.12 kB / 0.5367 GB, free: 19.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.4409, allocations: 18.47 kB / 0.5367 GB, free: 19.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.441, allocations: 22.55 kB / 0.5367 GB, free: 19.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001334/0.4423, allocations: 1.372 MB / 0.5381 GB, free: 18.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4423, allocations: 0 / 0.5381 GB, free: 18.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001961/0.4443, allocations: 0.4904 MB / 0.5385 GB, free: 18.04 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.001084/0.4454, allocations: 1.639 MB / 0.5401 GB, free: 16.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002209/0.4476, allocations: 2.144 MB / 0.5422 GB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.4476, allocations: 192 / 0.5422 GB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002786/0.4479, allocations: 346.8 kB / 0.5426 GB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009023/0.4488, allocations: 163.5 kB / 0.5427 GB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0224/0.4712, allocations: 22.22 MB / 0.5644 GB, free: 4.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00157/0.4728, allocations: 1.798 MB / 0.5662 GB, free: 2.359 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002347/0.4752, allocations: 1.113 MB / 0.5673 GB, free: 1.242 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008433/0.476, allocations: 0.7297 MB / 0.568 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of SimCode: time 6.92e-07/0.476, allocations: 0 / 0.568 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04896/0.525, allocations: 28.41 MB / 0.5957 GB, free: 4.324 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/0.5252, allocations: 218.1 kB / 0.5959 GB, free: 4.062 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.676/3.201, allocations: 0 / 0.5959 GB, free: 4.062 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