Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001086/0.001086, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001376/0.001376, allocations: 201.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2256/0.2256, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00258/0.00258, allocations: 75.88 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4114, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.007419/0.4189, allocations: 5.707 MB / 0.5366 GB, free: 9.133 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004314/0.4233, allocations: 1.845 MB / 0.5384 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008017/0.4241, allocations: 19.53 kB / 0.5384 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.4255, allocations: 0.5187 MB / 0.5389 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001899/0.4275, allocations: 0.674 MB / 0.5395 GB, free: 6.875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.4277, allocations: 16.03 kB / 0.5396 GB, free: 6.863 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002168/0.4299, allocations: 1.431 MB / 0.541 GB, free: 6.074 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001305/0.4312, allocations: 0.7129 MB / 0.5417 GB, free: 5.625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.4322, allocations: 491.9 kB / 0.5421 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/0.4336, allocations: 0.6716 MB / 0.5428 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004582/0.4341, allocations: 87.53 kB / 0.5429 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.4352, allocations: 313.7 kB / 0.5432 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009969/0.4362, allocations: 0.6562 MB / 0.5438 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001367/0.4376, allocations: 0.8286 MB / 0.5446 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003527/0.4411, allocations: 2.653 MB / 0.5472 GB, free: 1.047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.4412, allocations: 3.984 kB / 0.5472 GB, free: 1.043 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.749e-06/0.4412, allocations: 4 kB / 0.5472 GB, free: 1.039 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001168/0.4413, allocations: 0 / 0.5472 GB, free: 1.039 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.00423/0.4455, allocations: 2.01 MB / 0.5492 GB, free: 14.97 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.4456, allocations: 12.03 kB / 0.5492 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004986/0.4506, allocations: 1.477 MB / 0.5506 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.4522, allocations: 0.8554 MB / 0.5515 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.509e-05/0.4523, allocations: 74.3 kB / 0.5515 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002883/0.4526, allocations: 103.8 kB / 0.5516 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006473/0.4591, allocations: 4.626 MB / 0.5561 GB, free: 7.379 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.514e-05/0.4591, allocations: 19.81 kB / 0.5562 GB, free: 7.359 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002071/0.4593, allocations: 59.91 kB / 0.5562 GB, free: 7.301 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001756/0.4611, allocations: 1.099 MB / 0.5573 GB, free: 6.195 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006931/0.468, allocations: 3.996 MB / 0.5612 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02147/0.4895, allocations: 18.46 MB / 0.5792 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.491, allocations: 1.171 MB / 0.5804 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004628/0.4914, allocations: 350.4 kB / 0.5807 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.4915, allocations: 4 kB / 0.5807 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.4915, allocations: 38.56 kB / 0.5807 GB, free: 13.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 2.705e-06/0.4915, allocations: 0 / 0.5807 GB, free: 13.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001637/0.4932, allocations: 1.041 MB / 0.5818 GB, free: 12.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.4933, allocations: 107 kB / 0.5819 GB, free: 12.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003323/0.4966, allocations: 2.205 MB / 0.584 GB, free: 9.953 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.408e-05/0.4966, allocations: 33.64 kB / 0.5841 GB, free: 9.914 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001249/0.4979, allocations: 1.695 MB / 0.5857 GB, free: 8.199 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003134/0.4982, allocations: 270.1 kB / 0.586 GB, free: 7.934 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008442/0.4991, allocations: 0.6868 MB / 0.5866 GB, free: 7.238 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.4993, allocations: 349.9 kB / 0.587 GB, free: 6.891 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001416/0.5007, allocations: 0.9004 MB / 0.5878 GB, free: 5.988 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003131/0.5038, allocations: 3.163 MB / 0.5909 GB, free: 1.684 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004793/0.5086, allocations: 4.451 MB / 0.5953 GB, free: 12.09 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.457e-05/0.5087, allocations: 24 kB / 0.5953 GB, free: 12.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.006366/0.5151, allocations: 3.843 MB / 0.5991 GB, free: 8.223 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.27e-05/0.5152, allocations: 44.03 kB / 0.5991 GB, free: 8.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001229/0.5153, allocations: 83.94 kB / 0.5992 GB, free: 8.098 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001091/0.5154, allocations: 108 kB / 0.5993 GB, free: 7.992 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001981/0.5174, allocations: 0.7486 MB / 0.6 GB, free: 7.242 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000132/0.5175, allocations: 159.4 kB / 0.6002 GB, free: 7.086 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002218/0.5198, allocations: 0.5002 MB / 0.6007 GB, free: 6.582 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003073/0.5201, allocations: 212 kB / 0.6009 GB, free: 6.375 MB / 462.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.001574/0.5217, allocations: 1.101 MB / 0.6019 GB, free: 5.262 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003402/0.522, allocations: 178.8 kB / 0.6021 GB, free: 5.086 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003554/0.5224, allocations: 204 kB / 0.6023 GB, free: 4.887 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/0.5224, allocations: 8 kB / 0.6023 GB, free: 4.879 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.5224, allocations: 0 / 0.6023 GB, free: 4.879 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.5224, allocations: 3.984 kB / 0.6023 GB, free: 4.875 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003302/0.5257, allocations: 2.008 MB / 0.6043 GB, free: 2.801 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.5258, allocations: 0 / 0.6043 GB, free: 2.801 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002855/0.526, allocations: 63.89 kB / 0.6043 GB, free: 2.738 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.5261, allocations: 8 kB / 0.6043 GB, free: 2.73 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.5261, allocations: 8 kB / 0.6043 GB, free: 2.723 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.5261, allocations: 7.938 kB / 0.6044 GB, free: 2.715 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.5261, allocations: 0 / 0.6044 GB, free: 2.715 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.5273, allocations: 1.039 MB / 0.6054 GB, free: 1.652 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003664/0.5277, allocations: 243.7 kB / 0.6056 GB, free: 1.395 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/0.5279, allocations: 12 kB / 0.6056 GB, free: 1.383 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005204/0.5284, allocations: 27.89 kB / 0.6056 GB, free: 1.355 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.5285, allocations: 23.97 kB / 0.6057 GB, free: 1.332 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.902e-05/0.5285, allocations: 16 kB / 0.6057 GB, free: 1.316 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001939/0.5305, allocations: 1.375 MB / 0.607 GB, free: 15.92 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5305, allocations: 0 / 0.607 GB, free: 15.92 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002407/0.5329, allocations: 491.1 kB / 0.6075 GB, free: 15.44 MB / 478.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.0002747/0.5332, allocations: 131.1 kB / 0.6076 GB, free: 15.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003182/0.5364, allocations: 2.049 MB / 0.6096 GB, free: 13.27 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.5364, allocations: 3.938 kB / 0.6096 GB, free: 13.27 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004247/0.5368, allocations: 335.6 kB / 0.6099 GB, free: 12.94 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.5379, allocations: 174.4 kB / 0.6101 GB, free: 12.77 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005876/0.5438, allocations: 3.761 MB / 0.6138 GB, free: 8.957 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001859/0.5457, allocations: 1.782 MB / 0.6155 GB, free: 7.145 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002329/0.548, allocations: 1.113 MB / 0.6166 GB, free: 6.027 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003101/0.5483, allocations: 119.4 kB / 0.6167 GB, free: 5.91 MB / 478.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5483, allocations: 0 / 0.6167 GB, free: 5.91 MB / 478.1 MB Notification: Performance of Templates: time 0.02739/0.5757, allocations: 13.67 MB / 0.6301 GB, free: 8.27 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches