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: translateModel(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|voluminousWheel.n_rTire|voluminousWheel.n_rCurvature|voluminousWheel.rw|voluminousWheel.rCurvature2|voluminousWheel.kw|voluminousWheel.h|voluminousWheel.ri|voluminousWheel.rRim2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") translateModel(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|voluminousWheel.n_rTire|voluminousWheel.n_rCurvature|voluminousWheel.rw|voluminousWheel.rCurvature2|voluminousWheel.kw|voluminousWheel.h|voluminousWheel.ri|voluminousWheel.rRim2",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 115.7 kB / 17.78 MB, free: 5.254 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.001177/0.001177, allocations: 185 kB / 18.72 MB, free: 4.332 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.378/1.378, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2157/0.2157, allocations: 44.19 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 63.89 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.399, allocations: 60.81 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.00649/0.4055, allocations: 5.732 MB / 0.5245 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003736/0.4093, allocations: 1.795 MB / 0.5262 GB, free: 14.37 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005611/0.4099, allocations: 23.19 kB / 0.5262 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.4112, allocations: 0.512 MB / 0.5267 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001453/0.4127, allocations: 0.6793 MB / 0.5274 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001031/0.4128, allocations: 19.83 kB / 0.5274 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001631/0.4145, allocations: 1.446 MB / 0.5288 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008801/0.4153, allocations: 0.7137 MB / 0.5295 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006286/0.416, allocations: 496.1 kB / 0.53 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009962/0.417, allocations: 0.6835 MB / 0.5307 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000273/0.4173, allocations: 86.56 kB / 0.5308 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007286/0.418, allocations: 318 kB / 0.5311 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006337/0.4187, allocations: 0.6673 MB / 0.5317 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007233/0.4194, allocations: 0.8383 MB / 0.5325 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002741/0.4221, allocations: 2.681 MB / 0.5352 GB, free: 8.883 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4222, allocations: 1.094 kB / 0.5352 GB, free: 8.883 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4222, allocations: 0 / 0.5352 GB, free: 8.883 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.605e-05/0.4222, allocations: 0 / 0.5352 GB, free: 8.883 MB / 398.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.0032/0.4254, allocations: 2.034 MB / 0.5371 GB, free: 7.316 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.4255, allocations: 8.125 kB / 0.5371 GB, free: 7.316 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004993/0.4305, allocations: 1.487 MB / 0.5386 GB, free: 6.531 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.4321, allocations: 0.8578 MB / 0.5394 GB, free: 5.914 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-05/0.4321, allocations: 73.52 kB / 0.5395 GB, free: 5.883 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/0.4324, allocations: 111.6 kB / 0.5396 GB, free: 5.836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006203/0.4386, allocations: 4.624 MB / 0.5441 GB, free: 1.652 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/0.4386, allocations: 19.81 kB / 0.5442 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/0.4388, allocations: 55.86 kB / 0.5442 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001633/0.4405, allocations: 1.099 MB / 0.5453 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006171/0.4466, allocations: 4.008 MB / 0.5492 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02341/0.4701, allocations: 18.46 MB / 0.5672 GB, free: 9.359 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/0.4716, allocations: 1.177 MB / 0.5684 GB, free: 8.047 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004407/0.472, allocations: 342.4 kB / 0.5687 GB, free: 7.703 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.4721, allocations: 4 kB / 0.5687 GB, free: 7.699 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.4721, allocations: 34.5 kB / 0.5687 GB, free: 7.656 MB / 430.1 MB Notification: Performance of pre-optimization done (n=60): time 4.218e-06/0.4721, allocations: 0 / 0.5687 GB, free: 7.656 MB / 430.1 MB Notification: Performance of matching and sorting (n=60): time 0.001715/0.4739, allocations: 1.047 MB / 0.5698 GB, free: 6.605 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.154e-05/0.4739, allocations: 114.7 kB / 0.5699 GB, free: 6.469 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002917/0.4769, allocations: 2.209 MB / 0.572 GB, free: 4.215 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/0.4769, allocations: 33.7 kB / 0.5721 GB, free: 4.176 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001234/0.4782, allocations: 1.691 MB / 0.5737 GB, free: 2.465 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002712/0.4784, allocations: 274.1 kB / 0.574 GB, free: 2.195 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008727/0.4793, allocations: 0.6829 MB / 0.5746 GB, free: 1.504 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.4795, allocations: 361.9 kB / 0.575 GB, free: 1.145 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/0.4807, allocations: 0.8887 MB / 0.5758 GB, free: 260 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002847/0.4836, allocations: 3.166 MB / 0.5789 GB, free: 11.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004619/0.4882, allocations: 4.443 MB / 0.5833 GB, free: 6.363 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.139e-05/0.4883, allocations: 31.94 kB / 0.5833 GB, free: 6.332 MB / 446.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.006171/0.4945, allocations: 3.843 MB / 0.5871 GB, free: 2.484 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.29e-05/0.4946, allocations: 40 kB / 0.5871 GB, free: 2.445 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.412e-05/0.4947, allocations: 80 kB / 0.5872 GB, free: 2.367 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001079/0.4948, allocations: 108 kB / 0.5873 GB, free: 2.262 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001994/0.4968, allocations: 0.757 MB / 0.588 GB, free: 1.504 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001786/0.497, allocations: 155.4 kB / 0.5882 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002577/0.4996, allocations: 0.4966 MB / 0.5887 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000304/0.4999, allocations: 220 kB / 0.5889 GB, free: 0.6367 MB / 446.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.001581/0.5015, allocations: 1.094 MB / 0.5899 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002653/0.5017, allocations: 182.7 kB / 0.5901 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.502, allocations: 204 kB / 0.5903 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.5021, allocations: 8 kB / 0.5903 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.5021, allocations: 4 kB / 0.5903 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.5021, allocations: 3.984 kB / 0.5903 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003177/0.5053, allocations: 2.015 MB / 0.5923 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.5053, allocations: 4 kB / 0.5923 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002707/0.5056, allocations: 67.89 kB / 0.5924 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.5056, allocations: 0 / 0.5924 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.253e-05/0.5056, allocations: 8 kB / 0.5924 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.734e-06/0.5056, allocations: 11.88 kB / 0.5924 GB, free: 12.97 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5056, allocations: 0 / 0.5924 GB, free: 12.97 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.5067, allocations: 1.039 MB / 0.5934 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003141/0.507, allocations: 239.8 kB / 0.5936 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.5072, allocations: 8 kB / 0.5936 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004755/0.5077, allocations: 27.91 kB / 0.5936 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-05/0.5077, allocations: 23.97 kB / 0.5937 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.109e-05/0.5078, allocations: 19.98 kB / 0.5937 GB, free: 11.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001767/0.5095, allocations: 1.379 MB / 0.595 GB, free: 10.17 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5095, allocations: 0 / 0.595 GB, free: 10.17 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002368/0.5119, allocations: 0.4951 MB / 0.5955 GB, free: 9.676 MB / 462.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.0002792/0.5122, allocations: 123.1 kB / 0.5956 GB, free: 9.543 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002969/0.5152, allocations: 2.039 MB / 0.5976 GB, free: 7.523 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.5152, allocations: 4.312 kB / 0.5976 GB, free: 7.52 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003839/0.5156, allocations: 339.7 kB / 0.598 GB, free: 7.188 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.5167, allocations: 159.3 kB / 0.5981 GB, free: 7.027 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006/0.5227, allocations: 3.773 MB / 0.6018 GB, free: 3.203 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001568/0.5243, allocations: 1.794 MB / 0.6035 GB, free: 1.379 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002136/0.5264, allocations: 1.117 MB / 0.6046 GB, free: 264 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.5267, allocations: 115.4 kB / 0.6047 GB, free: 148 kB / 462.1 MB Notification: Performance of SimCode: time 9.32e-07/0.5267, allocations: 0 / 0.6047 GB, free: 148 kB / 462.1 MB Notification: Performance of Templates: time 0.02793/0.5546, allocations: 13.74 MB / 0.6182 GB, free: 2.441 MB / 478.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/VoluminousWheel/VoluminousWheel.csv","/var/lib/jenkins/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