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.001062/0.001062, allocations: 95.62 kB / 18 MB, free: 5.602 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.001383/0.001383, allocations: 175 kB / 18.91 MB, free: 4.738 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.335/1.335, allocations: 223.3 MB / 243 MB, free: 14.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.2193/0.2193, allocations: 44.25 MB / 338.3 MB, free: 2.383 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003647, allocations: 8 kB / 411 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.104, allocations: 61.92 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.008909/0.113, allocations: 8.725 MB / 481.6 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004794/0.1178, allocations: 2.333 MB / 484 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.119, allocations: 31.94 kB / 484 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006948/0.1197, allocations: 215 kB / 484.2 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001746/0.1214, allocations: 0.6579 MB / 484.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.1216, allocations: 15.98 kB / 484.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002369/0.124, allocations: 2.057 MB / 486.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001578/0.1256, allocations: 0.9267 MB / 487.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007469/0.1264, allocations: 410.1 kB / 488.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/0.1275, allocations: 0.7121 MB / 489 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002705/0.1278, allocations: 52 kB / 489 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007404/0.1285, allocations: 295.5 kB / 489.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007428/0.1293, allocations: 0.6581 MB / 490 MB, free: 12.13 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009624/0.1302, allocations: 0.832 MB / 490.8 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002075/0.1323, allocations: 2.007 MB / 492.8 MB, free: 9.277 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1323, allocations: 3.938 kB / 492.8 MB, free: 9.273 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1324, allocations: 0 / 492.8 MB, free: 9.273 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.92e-05/0.1325, allocations: 0 / 492.8 MB, free: 9.273 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.002992/0.1354, allocations: 1.647 MB / 494.5 MB, free: 7.574 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.1355, allocations: 12.03 kB / 494.5 MB, free: 7.562 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005209/0.1407, allocations: 1.511 MB / 496 MB, free: 6.047 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001801/0.1426, allocations: 0.8551 MB / 496.8 MB, free: 5.152 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.193e-05/0.1427, allocations: 74.3 kB / 496.9 MB, free: 5.078 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004114/0.1431, allocations: 111.8 kB / 497 MB, free: 4.969 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006464/0.1496, allocations: 4.633 MB / 0.4899 GB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.564e-05/0.1497, allocations: 19.81 kB / 0.4899 GB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002484/0.1499, allocations: 51.92 kB / 0.49 GB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001755/0.1517, allocations: 1.107 MB / 0.4911 GB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006452/0.1581, allocations: 4.004 MB / 0.495 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2422/0.4004, allocations: 18.48 MB / 0.513 GB, free: 33.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.4018, allocations: 1.178 MB / 0.5142 GB, free: 33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004524/0.4023, allocations: 344.5 kB / 0.5145 GB, free: 32.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.4023, allocations: 4.406 kB / 0.5145 GB, free: 32.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.4023, allocations: 40.88 kB / 0.5145 GB, free: 32.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.747e-06/0.4024, allocations: 0 / 0.5145 GB, free: 32.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001685/0.4041, allocations: 1.028 MB / 0.5155 GB, free: 32.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.4041, allocations: 108.1 kB / 0.5156 GB, free: 32.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004151/0.4083, allocations: 2.216 MB / 0.5178 GB, free: 32.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.459e-05/0.4084, allocations: 32.45 kB / 0.5178 GB, free: 32.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001088/0.4095, allocations: 1.624 MB / 0.5194 GB, free: 30.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003327/0.4098, allocations: 262 kB / 0.5197 GB, free: 30.78 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004694/0.4103, allocations: 285.1 kB / 0.5199 GB, free: 30.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.4104, allocations: 353.9 kB / 0.5203 GB, free: 30.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/0.412, allocations: 0.894 MB / 0.5212 GB, free: 30.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002718/0.4147, allocations: 3.168 MB / 0.5242 GB, free: 26.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004172/0.4189, allocations: 4.45 MB / 0.5286 GB, free: 22.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001419/0.419, allocations: 24.39 kB / 0.5286 GB, free: 22.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.006849/0.4259, allocations: 3.841 MB / 0.5324 GB, free: 21.15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.426, allocations: 40.34 kB / 0.5324 GB, free: 21.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001365/0.4262, allocations: 85.39 kB / 0.5325 GB, free: 21.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001075/0.4263, allocations: 111.5 kB / 0.5326 GB, free: 21.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002133/0.4284, allocations: 0.7547 MB / 0.5333 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001267/0.4286, allocations: 158.3 kB / 0.5335 GB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002404/0.431, allocations: 490.9 kB / 0.5339 GB, free: 20.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003622/0.4314, allocations: 216.1 kB / 0.5342 GB, free: 20.69 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.001433/0.4328, allocations: 1.105 MB / 0.5352 GB, free: 20.13 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002519/0.4331, allocations: 166.2 kB / 0.5354 GB, free: 20.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003592/0.4334, allocations: 204.2 kB / 0.5356 GB, free: 19.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/0.4335, allocations: 7.875 kB / 0.5356 GB, free: 19.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.4335, allocations: 0 / 0.5356 GB, free: 19.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.4335, allocations: 4.922 kB / 0.5356 GB, free: 19.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002878/0.4364, allocations: 2.019 MB / 0.5376 GB, free: 19.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.4364, allocations: 0.875 kB / 0.5376 GB, free: 19.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002627/0.4367, allocations: 65.89 kB / 0.5376 GB, free: 19.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.4367, allocations: 7.781 kB / 0.5376 GB, free: 19.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.4367, allocations: 7.781 kB / 0.5376 GB, free: 19.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.4367, allocations: 3.562 kB / 0.5377 GB, free: 19.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.4368, allocations: 3.938 kB / 0.5377 GB, free: 19.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008122/0.4376, allocations: 1.03 MB / 0.5387 GB, free: 18.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003216/0.4379, allocations: 245 kB / 0.5389 GB, free: 18.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.438, allocations: 7.438 kB / 0.5389 GB, free: 18.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004996/0.4386, allocations: 29.03 kB / 0.5389 GB, free: 18.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/0.4386, allocations: 26.36 kB / 0.539 GB, free: 18.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.591e-05/0.4387, allocations: 15.45 kB / 0.539 GB, free: 18.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001505/0.4402, allocations: 1.381 MB / 0.5403 GB, free: 17.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4402, allocations: 0 / 0.5403 GB, free: 17.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002273/0.4425, allocations: 0.5031 MB / 0.5408 GB, free: 17.48 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.0002629/0.4427, allocations: 119.8 kB / 0.5409 GB, free: 17.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002382/0.4451, allocations: 2.041 MB / 0.5429 GB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4452, allocations: 1.875 kB / 0.5429 GB, free: 15.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002916/0.4454, allocations: 327.7 kB / 0.5432 GB, free: 15.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.4466, allocations: 172.4 kB / 0.5434 GB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005188/0.4518, allocations: 4.817 MB / 0.5481 GB, free: 9.977 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/0.4529, allocations: 1.793 MB / 0.5499 GB, free: 8.156 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003141/0.4533, allocations: 147.4 kB / 0.55 GB, free: 8.012 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4533, allocations: 0 / 0.55 GB, free: 8.012 MB / 382.1 MB Notification: Performance of Templates: time 0.03587/0.4891, allocations: 25.23 MB / 0.5746 GB, free: 14.84 MB / 414.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/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