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.001252/0.001252, allocations: 105.6 kB / 18.45 MB, free: 4.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.001355/0.001355, allocations: 186.2 kB / 19.38 MB, free: 3.68 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.274/1.274, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.1948/0.1948, allocations: 44.17 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001323, allocations: 67.89 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3431, allocations: 60.82 MB / 0.5195 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.006758/0.3499, allocations: 5.729 MB / 0.5251 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004986/0.355, allocations: 1.795 MB / 0.5269 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.356, allocations: 23.19 kB / 0.5269 GB, free: 14.37 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00173/0.3578, allocations: 0.5087 MB / 0.5274 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002411/0.3603, allocations: 0.6802 MB / 0.5281 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001285/0.3604, allocations: 15.75 kB / 0.5281 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002675/0.3631, allocations: 1.45 MB / 0.5295 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001219/0.3643, allocations: 0.7159 MB / 0.5302 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.3653, allocations: 492.8 kB / 0.5307 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.3664, allocations: 0.6787 MB / 0.5313 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002792/0.3667, allocations: 87.94 kB / 0.5314 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008344/0.3675, allocations: 321.4 kB / 0.5317 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007255/0.3683, allocations: 0.6668 MB / 0.5324 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008524/0.3691, allocations: 0.8383 MB / 0.5332 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002863/0.372, allocations: 2.674 MB / 0.5358 GB, free: 8.922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.372, allocations: 0 / 0.5358 GB, free: 8.922 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.372, allocations: 0 / 0.5358 GB, free: 8.922 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.329e-05/0.3721, allocations: 0 / 0.5358 GB, free: 8.922 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.002763/0.3748, allocations: 1.986 MB / 0.5378 GB, free: 7.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.3749, allocations: 9.312 kB / 0.5378 GB, free: 7.406 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004905/0.3798, allocations: 1.462 MB / 0.5392 GB, free: 6.645 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.3812, allocations: 0.8573 MB / 0.54 GB, free: 6.027 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.634e-05/0.3813, allocations: 81.39 kB / 0.5401 GB, free: 5.988 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002031/0.3815, allocations: 102.5 kB / 0.5402 GB, free: 5.949 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005309/0.3868, allocations: 4.627 MB / 0.5447 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.201e-05/0.3869, allocations: 19.81 kB / 0.5447 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/0.387, allocations: 51.92 kB / 0.5448 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001602/0.3886, allocations: 1.099 MB / 0.5459 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005328/0.394, allocations: 4.004 MB / 0.5498 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01835/0.4123, allocations: 18.44 MB / 0.5678 GB, free: 9.523 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/0.4138, allocations: 1.167 MB / 0.5689 GB, free: 8.219 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004204/0.4142, allocations: 342.4 kB / 0.5692 GB, free: 7.875 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.4142, allocations: 4 kB / 0.5692 GB, free: 7.871 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.4143, allocations: 42.5 kB / 0.5693 GB, free: 7.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=60): time 3.095e-06/0.4143, allocations: 0 / 0.5693 GB, free: 7.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=60): time 0.001557/0.4158, allocations: 1.029 MB / 0.5703 GB, free: 6.785 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/0.4159, allocations: 110.8 kB / 0.5704 GB, free: 6.652 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002821/0.4187, allocations: 2.208 MB / 0.5726 GB, free: 4.398 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.4188, allocations: 29.7 kB / 0.5726 GB, free: 4.363 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009829/0.4198, allocations: 1.625 MB / 0.5742 GB, free: 2.711 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.42, allocations: 261 kB / 0.5744 GB, free: 2.453 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007415/0.4207, allocations: 0.6862 MB / 0.5751 GB, free: 1.758 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.4209, allocations: 349.9 kB / 0.5754 GB, free: 1.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/0.4221, allocations: 0.8965 MB / 0.5763 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00247/0.4245, allocations: 3.166 MB / 0.5794 GB, free: 12.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004434/0.429, allocations: 4.449 MB / 0.5837 GB, free: 6.617 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.495e-05/0.429, allocations: 24 kB / 0.5838 GB, free: 6.594 MB / 446.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.005674/0.4347, allocations: 3.833 MB / 0.5875 GB, free: 2.754 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.251e-05/0.4348, allocations: 40 kB / 0.5875 GB, free: 2.715 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.176e-05/0.4349, allocations: 84 kB / 0.5876 GB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.68e-05/0.435, allocations: 104.3 kB / 0.5877 GB, free: 2.531 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001857/0.4369, allocations: 0.7524 MB / 0.5885 GB, free: 1.777 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001174/0.437, allocations: 163.4 kB / 0.5886 GB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/0.4391, allocations: 498.6 kB / 0.5891 GB, free: 1.125 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002329/0.4393, allocations: 216 kB / 0.5893 GB, free: 0.9141 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.001388/0.4407, allocations: 1.102 MB / 0.5904 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002258/0.441, allocations: 165.8 kB / 0.5905 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003114/0.4413, allocations: 200 kB / 0.5907 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/0.4413, allocations: 8 kB / 0.5907 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.4413, allocations: 4 kB / 0.5907 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4413, allocations: 0 / 0.5907 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/0.4442, allocations: 2.023 MB / 0.5927 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.4442, allocations: 8 kB / 0.5927 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002756/0.4445, allocations: 55.91 kB / 0.5928 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.4445, allocations: 4 kB / 0.5928 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/0.4446, allocations: 12 kB / 0.5928 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.4446, allocations: 7.875 kB / 0.5928 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4446, allocations: 0 / 0.5928 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001/0.4456, allocations: 1.04 MB / 0.5938 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002639/0.4459, allocations: 234.7 kB / 0.594 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.446, allocations: 4 kB / 0.594 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004786/0.4465, allocations: 27.91 kB / 0.5941 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.084e-05/0.4466, allocations: 19.97 kB / 0.5941 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.05e-05/0.4466, allocations: 27.97 kB / 0.5941 GB, free: 11.87 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001709/0.4484, allocations: 1.368 MB / 0.5954 GB, free: 10.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4484, allocations: 0 / 0.5954 GB, free: 10.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002261/0.4506, allocations: 0.4949 MB / 0.5959 GB, free: 9.98 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.0002868/0.4509, allocations: 123.2 kB / 0.596 GB, free: 9.848 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002627/0.4536, allocations: 2.048 MB / 0.598 GB, free: 7.82 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.4536, allocations: 0 / 0.598 GB, free: 7.82 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000355/0.4539, allocations: 341.4 kB / 0.5984 GB, free: 7.488 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009324/0.4549, allocations: 163.2 kB / 0.5985 GB, free: 7.324 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005566/0.4605, allocations: 3.927 MB / 0.6024 GB, free: 3.344 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001486/0.462, allocations: 1.802 MB / 0.6041 GB, free: 1.512 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003286/0.4623, allocations: 147.4 kB / 0.6043 GB, free: 1.367 MB / 462.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4623, allocations: 0 / 0.6043 GB, free: 1.367 MB / 462.1 MB Notification: Performance of Templates: time 0.03678/0.4991, allocations: 25.91 MB / 0.6296 GB, free: 7.52 MB / 494.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