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.001527/0.001527, allocations: 121.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001851/0.001851, allocations: 212.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2113/0.2113, allocations: 46.09 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 83.86 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3137, allocations: 62.43 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.006698/0.3204, allocations: 5.71 MB / 0.5372 GB, free: 9.129 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003543/0.324, allocations: 1.841 MB / 0.539 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005447/0.3246, allocations: 23.59 kB / 0.539 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.3258, allocations: 0.5264 MB / 0.5396 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00143/0.3273, allocations: 0.6693 MB / 0.5402 GB, free: 6.871 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001048/0.3274, allocations: 19.36 kB / 0.5402 GB, free: 6.855 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001731/0.3291, allocations: 1.424 MB / 0.5416 GB, free: 6.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000936/0.3301, allocations: 0.709 MB / 0.5423 GB, free: 5.625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006447/0.3308, allocations: 483.9 kB / 0.5428 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000925/0.3317, allocations: 0.6881 MB / 0.5434 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002112/0.3319, allocations: 86.59 kB / 0.5435 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000667/0.3326, allocations: 305.4 kB / 0.5438 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005672/0.3332, allocations: 0.6606 MB / 0.5445 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007017/0.3339, allocations: 0.8192 MB / 0.5453 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002681/0.3366, allocations: 2.652 MB / 0.5478 GB, free: 1.109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3366, allocations: 0 / 0.5478 GB, free: 1.109 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3366, allocations: 4 kB / 0.5479 GB, free: 1.105 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.225e-05/0.3367, allocations: 0 / 0.5479 GB, free: 1.105 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.002893/0.3395, allocations: 1.948 MB / 0.5498 GB, free: 15.1 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.3396, allocations: 8.031 kB / 0.5498 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004923/0.3445, allocations: 1.476 MB / 0.5512 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.346, allocations: 0.8472 MB / 0.552 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.585e-05/0.346, allocations: 78.3 kB / 0.5521 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002469/0.3463, allocations: 111.8 kB / 0.5522 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005807/0.3521, allocations: 4.622 MB / 0.5567 GB, free: 7.516 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.074e-05/0.3522, allocations: 19.81 kB / 0.5567 GB, free: 7.496 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002094/0.3524, allocations: 59.91 kB / 0.5568 GB, free: 7.438 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001735/0.3541, allocations: 1.099 MB / 0.5579 GB, free: 6.332 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008658/0.3628, allocations: 4.008 MB / 0.5618 GB, free: 2.328 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01992/0.3828, allocations: 18.41 MB / 0.5798 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.3843, allocations: 1.182 MB / 0.5809 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004698/0.3848, allocations: 342.3 kB / 0.5813 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.3848, allocations: 4 kB / 0.5813 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.3848, allocations: 34.56 kB / 0.5813 GB, free: 13.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 2.805e-06/0.3849, allocations: 4 kB / 0.5813 GB, free: 13.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.00161/0.3865, allocations: 1.037 MB / 0.5823 GB, free: 12.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.3866, allocations: 106.8 kB / 0.5824 GB, free: 12.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003333/0.3899, allocations: 2.2 MB / 0.5846 GB, free: 10.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.891e-05/0.39, allocations: 29.7 kB / 0.5846 GB, free: 10.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001276/0.3913, allocations: 1.613 MB / 0.5862 GB, free: 8.453 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/0.3915, allocations: 268.9 kB / 0.5864 GB, free: 8.188 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008376/0.3924, allocations: 0.6745 MB / 0.5871 GB, free: 7.504 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.3926, allocations: 353.9 kB / 0.5874 GB, free: 7.152 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.3938, allocations: 0.9004 MB / 0.5883 GB, free: 6.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002859/0.3967, allocations: 3.166 MB / 0.5914 GB, free: 1.941 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004885/0.4016, allocations: 4.455 MB / 0.5957 GB, free: 12.35 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-05/0.4017, allocations: 20 kB / 0.5958 GB, free: 12.33 MB / 462.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.00629/0.408, allocations: 3.839 MB / 0.5995 GB, free: 8.484 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.004e-05/0.4081, allocations: 43.94 kB / 0.5995 GB, free: 8.441 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000123/0.4082, allocations: 84.88 kB / 0.5996 GB, free: 8.359 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00011/0.4084, allocations: 104 kB / 0.5997 GB, free: 8.258 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/0.4104, allocations: 0.7602 MB / 0.6005 GB, free: 7.496 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001209/0.4106, allocations: 155.4 kB / 0.6006 GB, free: 7.344 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00232/0.4129, allocations: 482.8 kB / 0.6011 GB, free: 6.867 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003383/0.4132, allocations: 223.9 kB / 0.6013 GB, free: 6.648 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.001459/0.4147, allocations: 1.097 MB / 0.6024 GB, free: 5.539 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002823/0.415, allocations: 161.8 kB / 0.6025 GB, free: 5.379 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/0.4154, allocations: 196 kB / 0.6027 GB, free: 5.188 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/0.4154, allocations: 19.97 kB / 0.6027 GB, free: 5.168 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.4154, allocations: 0 / 0.6027 GB, free: 5.168 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.4154, allocations: 12.2 kB / 0.6027 GB, free: 5.156 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003251/0.4187, allocations: 2.007 MB / 0.6047 GB, free: 3.082 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.4187, allocations: 3.938 kB / 0.6047 GB, free: 3.078 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/0.419, allocations: 59.91 kB / 0.6048 GB, free: 3.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-06/0.419, allocations: 3.984 kB / 0.6048 GB, free: 3.016 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.419, allocations: 8 kB / 0.6048 GB, free: 3.008 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.897e-06/0.4191, allocations: 11.88 kB / 0.6048 GB, free: 2.996 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4191, allocations: 4 kB / 0.6048 GB, free: 2.992 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.4201, allocations: 1.027 MB / 0.6058 GB, free: 1.941 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003438/0.4205, allocations: 230.7 kB / 0.606 GB, free: 1.695 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/0.4207, allocations: 12 kB / 0.606 GB, free: 1.684 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005489/0.4213, allocations: 31.89 kB / 0.606 GB, free: 1.652 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.696e-05/0.4214, allocations: 27.91 kB / 0.6061 GB, free: 1.625 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.945e-05/0.4214, allocations: 16 kB / 0.6061 GB, free: 1.609 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001979/0.4234, allocations: 1.367 MB / 0.6074 GB, free: 224 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4234, allocations: 0 / 0.6074 GB, free: 224 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.002276/0.4257, allocations: 494.8 kB / 0.6079 GB, free: 15.73 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.000309/0.426, allocations: 135 kB / 0.608 GB, free: 15.59 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002979/0.429, allocations: 2.039 MB / 0.61 GB, free: 13.57 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.429, allocations: 4.125 kB / 0.61 GB, free: 13.57 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000397/0.4294, allocations: 335.7 kB / 0.6103 GB, free: 13.24 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.4305, allocations: 161.6 kB / 0.6105 GB, free: 13.08 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006219/0.4367, allocations: 3.937 MB / 0.6143 GB, free: 9.094 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001766/0.4385, allocations: 1.79 MB / 0.6161 GB, free: 7.273 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004048/0.4389, allocations: 151.4 kB / 0.6162 GB, free: 7.125 MB / 478.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4389, allocations: 0 / 0.6162 GB, free: 7.125 MB / 478.1 MB Notification: Performance of Templates: time 0.03855/0.4775, allocations: 25.8 MB / 0.6414 GB, free: 13.39 MB / 0.4981 GB 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/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_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches