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.0014/0.0014, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001407/0.001407, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 227.4 MB / 247.5 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2324/0.2324, allocations: 46.12 MB / 344.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 87.06 kB / 418.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1253, allocations: 62.45 MB / 480.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.007654/0.133, allocations: 5.713 MB / 486.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003645/0.1367, allocations: 1.83 MB / 488.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004674/0.1372, allocations: 20 kB / 488.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.1385, allocations: 0.5213 MB / 488.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00154/0.14, allocations: 0.6769 MB / 489.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001025/0.1402, allocations: 19.98 kB / 489.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0017/0.1419, allocations: 1.417 MB / 491 MB, free: 11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009351/0.1428, allocations: 0.7121 MB / 491.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006228/0.1434, allocations: 486 kB / 492.1 MB, free: 9.801 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008555/0.1443, allocations: 0.6732 MB / 492.8 MB, free: 9.125 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001882/0.1445, allocations: 88 kB / 492.9 MB, free: 9.039 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006422/0.1452, allocations: 323.5 kB / 493.2 MB, free: 8.723 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006009/0.1458, allocations: 0.6621 MB / 493.9 MB, free: 8.059 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007356/0.1465, allocations: 0.8186 MB / 494.7 MB, free: 7.234 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002472/0.149, allocations: 2.508 MB / 497.2 MB, free: 4.719 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.149, allocations: 0 / 497.2 MB, free: 4.719 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.149, allocations: 0 / 497.2 MB, free: 4.719 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.352e-05/0.1491, allocations: 0 / 497.2 MB, free: 4.719 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.003059/0.1521, allocations: 1.959 MB / 499.2 MB, free: 2.707 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1522, allocations: 8.031 kB / 499.2 MB, free: 2.699 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004977/0.1572, allocations: 1.464 MB / 0.4889 GB, free: 1.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/0.1588, allocations: 0.8512 MB / 0.4897 GB, free: 348 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.714e-05/0.1589, allocations: 82.28 kB / 0.4898 GB, free: 264 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002257/0.1591, allocations: 103.8 kB / 0.4899 GB, free: 160 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0065/0.1656, allocations: 4.618 MB / 0.4944 GB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.046e-05/0.1657, allocations: 19.81 kB / 0.4944 GB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001786/0.1659, allocations: 59.91 kB / 0.4945 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001964/0.1679, allocations: 1.103 MB / 0.4956 GB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006697/0.1746, allocations: 4.007 MB / 0.4995 GB, free: 5.945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2241/0.3987, allocations: 18.47 MB / 0.5175 GB, free: 26.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/0.4001, allocations: 1.178 MB / 0.5187 GB, free: 25.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003888/0.4005, allocations: 346.3 kB / 0.519 GB, free: 25.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.4005, allocations: 6.203 kB / 0.519 GB, free: 25.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.4005, allocations: 42.72 kB / 0.5191 GB, free: 25.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 2.615e-06/0.4005, allocations: 0 / 0.5191 GB, free: 25.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001511/0.402, allocations: 1.03 MB / 0.5201 GB, free: 24.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.4021, allocations: 114.9 kB / 0.5202 GB, free: 24.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002838/0.4049, allocations: 2.193 MB / 0.5223 GB, free: 23.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.815e-05/0.405, allocations: 36.58 kB / 0.5223 GB, free: 23.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008348/0.4058, allocations: 1.617 MB / 0.5239 GB, free: 22.56 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002301/0.4061, allocations: 264.4 kB / 0.5242 GB, free: 22.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007481/0.4068, allocations: 0.6738 MB / 0.5248 GB, free: 22.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.969e-05/0.4069, allocations: 356.4 kB / 0.5252 GB, free: 21.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.4084, allocations: 0.8927 MB / 0.526 GB, free: 21.47 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002001/0.4104, allocations: 3.176 MB / 0.5291 GB, free: 18.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003738/0.4141, allocations: 4.435 MB / 0.5335 GB, free: 13.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-05/0.4142, allocations: 24.12 kB / 0.5335 GB, free: 13.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.006206/0.4204, allocations: 3.845 MB / 0.5373 GB, free: 12.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.845e-05/0.4205, allocations: 43.81 kB / 0.5373 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001003/0.4206, allocations: 80.94 kB / 0.5374 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001206/0.4208, allocations: 106.8 kB / 0.5375 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001972/0.4227, allocations: 0.7546 MB / 0.5382 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001241/0.4229, allocations: 159.9 kB / 0.5384 GB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002177/0.4251, allocations: 492.8 kB / 0.5388 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002458/0.4253, allocations: 218.3 kB / 0.539 GB, free: 11.98 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.001178/0.4265, allocations: 1.093 MB / 0.5401 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/0.4267, allocations: 178.3 kB / 0.5403 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002441/0.427, allocations: 195.4 kB / 0.5405 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.427, allocations: 5.688 kB / 0.5405 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.427, allocations: 4.562 kB / 0.5405 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.427, allocations: 3.938 kB / 0.5405 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002661/0.4297, allocations: 2.018 MB / 0.5425 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4297, allocations: 4 kB / 0.5425 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.43, allocations: 63.17 kB / 0.5425 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.43, allocations: 3.062 kB / 0.5425 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.43, allocations: 7.375 kB / 0.5425 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.4301, allocations: 3.469 kB / 0.5425 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4301, allocations: 3.938 kB / 0.5425 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007781/0.4308, allocations: 1.031 MB / 0.5435 GB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002338/0.4311, allocations: 232.6 kB / 0.5438 GB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.4312, allocations: 7.672 kB / 0.5438 GB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000494/0.4317, allocations: 28.27 kB / 0.5438 GB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.41e-05/0.4318, allocations: 26.95 kB / 0.5438 GB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.4319, allocations: 18.38 kB / 0.5438 GB, free: 9.574 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00149/0.4333, allocations: 1.368 MB / 0.5452 GB, free: 8.875 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4334, allocations: 0 / 0.5452 GB, free: 8.875 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002406/0.4358, allocations: 497 kB / 0.5457 GB, free: 8.543 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.0002648/0.436, allocations: 135.5 kB / 0.5458 GB, free: 8.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002729/0.4388, allocations: 2.146 MB / 0.5479 GB, free: 6.289 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.4388, allocations: 2 kB / 0.5479 GB, free: 6.289 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.4391, allocations: 335.7 kB / 0.5482 GB, free: 5.961 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.4402, allocations: 161.5 kB / 0.5484 GB, free: 5.805 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004934/0.4451, allocations: 3.963 MB / 0.5522 GB, free: 1.801 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/0.4463, allocations: 1.794 MB / 0.554 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004331/0.4467, allocations: 158.9 kB / 0.5541 GB, free: 15.82 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4468, allocations: 0 / 0.5541 GB, free: 15.82 MB / 398.1 MB Notification: Performance of Templates: time 0.04484/0.4916, allocations: 25.46 MB / 0.579 GB, free: 6.445 MB / 414.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/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