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.00115/0.00115, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001661/0.001661, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.387/1.387, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.199/0.199, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 57.31 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1233, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.006637/0.13, allocations: 5.726 MB / 475.1 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003201/0.1333, allocations: 1.788 MB / 476.9 MB, free: 6.695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003683/0.1337, allocations: 20 kB / 476.9 MB, free: 6.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.1347, allocations: 0.5096 MB / 477.4 MB, free: 6.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001246/0.136, allocations: 0.6847 MB / 478.1 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.864e-05/0.1361, allocations: 19.97 kB / 478.1 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.1375, allocations: 1.443 MB / 479.5 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007089/0.1382, allocations: 0.7112 MB / 480.3 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003843/0.1386, allocations: 490 kB / 480.7 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006457/0.1392, allocations: 0.6849 MB / 481.4 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.1394, allocations: 88 kB / 481.5 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004863/0.1399, allocations: 327.4 kB / 481.8 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004662/0.1404, allocations: 0.666 MB / 482.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005842/0.1409, allocations: 0.8342 MB / 483.3 MB, free: 208 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001943/0.1429, allocations: 2.527 MB / 485.8 MB, free: 13.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1429, allocations: 0 / 485.8 MB, free: 13.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1429, allocations: 0 / 485.8 MB, free: 13.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.199e-05/0.1429, allocations: 0 / 485.8 MB, free: 13.67 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.002449/0.1454, allocations: 1.989 MB / 487.8 MB, free: 11.63 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.1454, allocations: 8.031 kB / 487.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003107/0.1458, allocations: 348.1 kB / 488.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004726/0.1505, allocations: 1.468 MB / 489.7 MB, free: 9.801 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.1517, allocations: 0.8473 MB / 490.5 MB, free: 8.914 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.413e-05/0.1518, allocations: 82.03 kB / 490.6 MB, free: 8.832 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.152, allocations: 95.92 kB / 490.7 MB, free: 8.738 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004583/0.1566, allocations: 4.63 MB / 495.3 MB, free: 3.703 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.287e-05/0.1566, allocations: 19.81 kB / 495.3 MB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001605/0.1568, allocations: 55.91 kB / 495.4 MB, free: 3.629 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001581/0.1584, allocations: 1.099 MB / 496.5 MB, free: 2.527 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00508/0.1634, allocations: 4.008 MB / 0.4888 GB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2046/0.3681, allocations: 18.48 MB / 0.5068 GB, free: 34.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/0.37, allocations: 1.17 MB / 0.5079 GB, free: 33.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006198/0.3706, allocations: 343 kB / 0.5083 GB, free: 33.94 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.3707, allocations: 4.062 kB / 0.5083 GB, free: 33.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.3707, allocations: 40.53 kB / 0.5083 GB, free: 33.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 5.48e-06/0.3707, allocations: 0 / 0.5083 GB, free: 33.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.002023/0.3728, allocations: 1.034 MB / 0.5093 GB, free: 33.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.3728, allocations: 111.8 kB / 0.5094 GB, free: 33.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004198/0.377, allocations: 2.201 MB / 0.5116 GB, free: 33.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.178e-05/0.3771, allocations: 31.14 kB / 0.5116 GB, free: 33.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001272/0.3784, allocations: 1.628 MB / 0.5132 GB, free: 32.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002954/0.3787, allocations: 266 kB / 0.5135 GB, free: 31.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001032/0.3798, allocations: 0.6731 MB / 0.5141 GB, free: 31.58 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3799, allocations: 357.5 kB / 0.5145 GB, free: 31.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001561/0.3815, allocations: 0.8968 MB / 0.5153 GB, free: 30.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002898/0.3844, allocations: 3.168 MB / 0.5184 GB, free: 27.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004561/0.389, allocations: 4.44 MB / 0.5228 GB, free: 23.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001514/0.3891, allocations: 25.34 kB / 0.5228 GB, free: 23.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.007476/0.3966, allocations: 3.848 MB / 0.5265 GB, free: 22.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.3967, allocations: 42.94 kB / 0.5266 GB, free: 22.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000202/0.3969, allocations: 80.66 kB / 0.5267 GB, free: 22.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001705/0.3971, allocations: 109.3 kB / 0.5268 GB, free: 22.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002159/0.3993, allocations: 0.7452 MB / 0.5275 GB, free: 22.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001361/0.3994, allocations: 160.9 kB / 0.5276 GB, free: 22.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002836/0.4023, allocations: 496.9 kB / 0.5281 GB, free: 21.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000371/0.4027, allocations: 217.2 kB / 0.5283 GB, free: 21.68 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.001502/0.4042, allocations: 1.101 MB / 0.5294 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003103/0.4045, allocations: 167.5 kB / 0.5296 GB, free: 21.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003225/0.4048, allocations: 197.8 kB / 0.5297 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.236e-05/0.4049, allocations: 10.34 kB / 0.5298 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.4049, allocations: 3.328 kB / 0.5298 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.4049, allocations: 3.969 kB / 0.5298 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003383/0.4083, allocations: 2.026 MB / 0.5317 GB, free: 20.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.4083, allocations: 0 / 0.5317 GB, free: 20.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.4086, allocations: 58.47 kB / 0.5318 GB, free: 20.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.4086, allocations: 3.938 kB / 0.5318 GB, free: 20.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.4086, allocations: 11.27 kB / 0.5318 GB, free: 20.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.4086, allocations: 3.156 kB / 0.5318 GB, free: 20.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4087, allocations: 2.625 kB / 0.5318 GB, free: 20.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000965/0.4096, allocations: 1.039 MB / 0.5328 GB, free: 19.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003644/0.41, allocations: 234.7 kB / 0.5331 GB, free: 19.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002307/0.4102, allocations: 7.219 kB / 0.5331 GB, free: 19.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000541/0.4108, allocations: 25.23 kB / 0.5331 GB, free: 19.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/0.4109, allocations: 22.06 kB / 0.5331 GB, free: 19.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-05/0.4109, allocations: 21.52 kB / 0.5331 GB, free: 19.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001597/0.4125, allocations: 1.374 MB / 0.5345 GB, free: 18.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4125, allocations: 3.938 kB / 0.5345 GB, free: 18.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002414/0.4149, allocations: 0.4929 MB / 0.535 GB, free: 18.66 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.001206/0.4161, allocations: 1.644 MB / 0.5366 GB, free: 17.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002917/0.4191, allocations: 2.136 MB / 0.5386 GB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.4191, allocations: 0 / 0.5386 GB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003096/0.4194, allocations: 335.7 kB / 0.539 GB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.4207, allocations: 170.8 kB / 0.5391 GB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02623/0.447, allocations: 21.47 MB / 0.5601 GB, free: 5.898 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002036/0.4491, allocations: 1.782 MB / 0.5618 GB, free: 4.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002509/0.4516, allocations: 1.115 MB / 0.5629 GB, free: 2.973 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/0.4526, allocations: 0.7321 MB / 0.5636 GB, free: 2.242 MB / 398.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4526, allocations: 0 / 0.5636 GB, free: 2.242 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05444/0.5071, allocations: 28.51 MB / 0.5915 GB, free: 5.906 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.408/8.915, allocations: 23.44 kB / 0.5915 GB, free: 5.891 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