Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001134/0.001134, allocations: 198.8 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.226/1.226, allocations: 226.5 MB / 243.4 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007434/0.0007434, allocations: 103.6 kB / 295.5 MB, free: 6.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3024/0.3024, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002547/0.0002547, allocations: 8 kB / 465.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.281, allocations: 62.96 MB / 0.5159 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.005731/0.2868, allocations: 8.207 MB / 0.524 GB, free: 31.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003366/0.2902, allocations: 2.255 MB / 0.5262 GB, free: 29.68 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006414/0.2909, allocations: 32.16 kB / 0.5262 GB, free: 29.68 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006505/0.2915, allocations: 382.5 kB / 0.5266 GB, free: 29.54 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001803/0.2933, allocations: 1.104 MB / 0.5276 GB, free: 29.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001194/0.2935, allocations: 17.25 kB / 0.5277 GB, free: 29.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001337/0.2948, allocations: 1.617 MB / 0.5292 GB, free: 28.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001037/0.2959, allocations: 0.9214 MB / 0.5301 GB, free: 28.1 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004214/0.2963, allocations: 465.3 kB / 0.5306 GB, free: 27.96 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005758/0.2969, allocations: 0.7005 MB / 0.5313 GB, free: 27.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.297, allocations: 55.19 kB / 0.5313 GB, free: 27.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004741/0.2975, allocations: 290.4 kB / 0.5316 GB, free: 27.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003806/0.2979, allocations: 0.6359 MB / 0.5322 GB, free: 27.48 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004588/0.2984, allocations: 0.7775 MB / 0.533 GB, free: 26.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.2996, allocations: 2 MB / 0.5349 GB, free: 26.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2997, allocations: 0 / 0.5349 GB, free: 26.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2997, allocations: 0.5625 kB / 0.5349 GB, free: 26.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.965e-05/0.2997, allocations: 4 kB / 0.5349 GB, free: 26.49 MB / 378.7 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.001993/0.3017, allocations: 1.651 MB / 0.5365 GB, free: 25.37 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.3018, allocations: 8.484 kB / 0.5365 GB, free: 25.37 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003334/0.3021, allocations: 344.7 kB / 0.5369 GB, free: 25.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004692/0.3068, allocations: 1.517 MB / 0.5384 GB, free: 25.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.3081, allocations: 0.8517 MB / 0.5392 GB, free: 24.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.838e-05/0.3082, allocations: 84.75 kB / 0.5393 GB, free: 24.42 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.3084, allocations: 96.2 kB / 0.5394 GB, free: 24.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005366/0.3137, allocations: 4.617 MB / 0.5439 GB, free: 22.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.92e-05/0.3138, allocations: 19.34 kB / 0.5439 GB, free: 22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001559/0.314, allocations: 59.53 kB / 0.5439 GB, free: 21.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001756/0.3157, allocations: 1.101 MB / 0.545 GB, free: 21.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006365/0.3221, allocations: 3.987 MB / 0.5489 GB, free: 20.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0158/0.3379, allocations: 18.5 MB / 0.567 GB, free: 3.969 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009779/0.339, allocations: 1.171 MB / 0.5681 GB, free: 2.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003313/0.3393, allocations: 347.2 kB / 0.5685 GB, free: 2.312 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.3393, allocations: 11.88 kB / 0.5685 GB, free: 2.301 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.3393, allocations: 34.56 kB / 0.5685 GB, free: 2.258 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 3.366e-06/0.3394, allocations: 0 / 0.5685 GB, free: 2.258 MB / 378.7 MB Notification: Performance of matching and sorting (n=60): time 0.001207/0.3406, allocations: 1.03 MB / 0.5695 GB, free: 1.223 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.3406, allocations: 106.8 kB / 0.5696 GB, free: 1.094 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002504/0.3431, allocations: 2.204 MB / 0.5718 GB, free: 14.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.229e-05/0.3432, allocations: 29.7 kB / 0.5718 GB, free: 14.81 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009826/0.3442, allocations: 1.617 MB / 0.5734 GB, free: 13.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/0.3444, allocations: 273 kB / 0.5736 GB, free: 12.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.3445, allocations: 72 kB / 0.5737 GB, free: 12.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002554/0.3448, allocations: 0.4979 MB / 0.5742 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/0.346, allocations: 0.8809 MB / 0.575 GB, free: 11.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002463/0.3485, allocations: 3.151 MB / 0.5781 GB, free: 7.141 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00413/0.3527, allocations: 4.438 MB / 0.5825 GB, free: 1.562 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.135e-05/0.3527, allocations: 24 kB / 0.5825 GB, free: 1.539 MB / 394.7 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.005741/0.3585, allocations: 3.811 MB / 0.5862 GB, free: 13.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.266e-05/0.3585, allocations: 40 kB / 0.5862 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.787e-05/0.3586, allocations: 80 kB / 0.5863 GB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.276e-05/0.3587, allocations: 108.8 kB / 0.5864 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001895/0.3606, allocations: 0.7486 MB / 0.5871 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001076/0.3608, allocations: 163.4 kB / 0.5873 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002126/0.3629, allocations: 494.6 kB / 0.5878 GB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002856/0.3632, allocations: 216 kB / 0.588 GB, free: 11.89 MB / 410.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001612/0.3648, allocations: 1.098 MB / 0.5891 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000276/0.3651, allocations: 165.8 kB / 0.5892 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003226/0.3654, allocations: 204.1 kB / 0.5894 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.177e-05/0.3655, allocations: 15.98 kB / 0.5894 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.3655, allocations: 0 / 0.5894 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.3655, allocations: 3.984 kB / 0.5894 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003148/0.3686, allocations: 2.004 MB / 0.5914 GB, free: 8.328 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3687, allocations: 0 / 0.5914 GB, free: 8.328 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/0.369, allocations: 67.89 kB / 0.5914 GB, free: 8.262 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.369, allocations: 0 / 0.5914 GB, free: 8.262 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.111e-05/0.369, allocations: 15.94 kB / 0.5915 GB, free: 8.246 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.369, allocations: 4 kB / 0.5915 GB, free: 8.242 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.369, allocations: 4 kB / 0.5915 GB, free: 8.238 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.3701, allocations: 1.023 MB / 0.5925 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003702/0.3705, allocations: 238.7 kB / 0.5927 GB, free: 6.945 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.3707, allocations: 15.94 kB / 0.5927 GB, free: 6.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004837/0.3712, allocations: 27.97 kB / 0.5927 GB, free: 6.902 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.337e-05/0.3712, allocations: 23.95 kB / 0.5928 GB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/0.3713, allocations: 16 kB / 0.5928 GB, free: 6.863 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001944/0.3732, allocations: 1.371 MB / 0.5941 GB, free: 5.469 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3733, allocations: 0 / 0.5941 GB, free: 5.469 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002414/0.3757, allocations: 0.4949 MB / 0.5946 GB, free: 4.973 MB / 410.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001473/0.3772, allocations: 1.64 MB / 0.5962 GB, free: 3.301 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00308/0.3803, allocations: 2.031 MB / 0.5982 GB, free: 1.285 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.3803, allocations: 4.125 kB / 0.5982 GB, free: 1.281 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003743/0.3807, allocations: 334 kB / 0.5985 GB, free: 0.957 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.3819, allocations: 157.6 kB / 0.5987 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02252/0.4045, allocations: 14.13 MB / 0.6125 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001679/0.4062, allocations: 1.795 MB / 0.6142 GB, free: 15.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/0.4072, allocations: 0.757 MB / 0.6149 GB, free: 14.34 MB / 442.7 MB Notification: Performance of SimCode: time 1.032e-06/0.4073, allocations: 0 / 0.6149 GB, free: 14.34 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.356/4.764, allocations: 32.73 MB / 0.6469 GB, free: 13.66 MB / 474.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Visualizers_VoluminousWheel_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Visualizers_VoluminousWheel.fmu > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches