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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009119/0.000912, allocations: 94.47 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001136/0.001136, allocations: 200.9 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.7 MB / 246.8 MB, free: 11.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1992/0.1992, allocations: 46.2 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002445/0.0002446, allocations: 8 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1139, allocations: 63.56 MB / 483.2 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.008799/0.1227, allocations: 8.695 MB / 491.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004443/0.1272, allocations: 2.368 MB / 494.2 MB, free: 8.961 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000982/0.1282, allocations: 27.94 kB / 494.3 MB, free: 8.934 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006209/0.1288, allocations: 211.1 kB / 494.5 MB, free: 8.727 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001694/0.1305, allocations: 0.6462 MB / 495.1 MB, free: 8.078 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000143/0.1307, allocations: 19.98 kB / 495.1 MB, free: 8.059 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002374/0.1331, allocations: 2.029 MB / 497.2 MB, free: 6.027 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.1345, allocations: 0.9461 MB / 498.1 MB, free: 5.047 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006739/0.1352, allocations: 410.1 kB / 498.5 MB, free: 4.645 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009985/0.1362, allocations: 0.7005 MB / 499.2 MB, free: 3.941 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002508/0.1365, allocations: 59.94 kB / 499.3 MB, free: 3.883 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006586/0.1371, allocations: 291.4 kB / 499.6 MB, free: 3.598 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006759/0.1378, allocations: 0.6425 MB / 0.4885 GB, free: 2.953 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008705/0.1387, allocations: 0.8241 MB / 0.4893 GB, free: 2.117 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002223/0.1409, allocations: 2.441 MB / 0.4917 GB, free: 15.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.141, allocations: 0 / 0.4917 GB, free: 15.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.141, allocations: 0 / 0.4917 GB, free: 15.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.337e-05/0.141, allocations: 0 / 0.4917 GB, free: 15.67 MB / 382.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.002486/0.1435, allocations: 1.628 MB / 0.4933 GB, free: 13.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1436, allocations: 12.88 kB / 0.4933 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004847/0.1441, allocations: 344.1 kB / 0.4936 GB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004951/0.149, allocations: 1.515 MB / 0.4951 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.1504, allocations: 0.8473 MB / 0.4959 GB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.047e-05/0.1504, allocations: 86.03 kB / 0.496 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/0.1507, allocations: 95.92 kB / 0.4961 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005204/0.1559, allocations: 4.622 MB / 0.5006 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.737e-05/0.1559, allocations: 19.81 kB / 0.5006 GB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001667/0.1561, allocations: 55.91 kB / 0.5007 GB, free: 5.941 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001669/0.1578, allocations: 1.103 MB / 0.5017 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005846/0.1636, allocations: 4.011 MB / 0.5057 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1915/0.3551, allocations: 18.49 MB / 0.5237 GB, free: 24.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.3563, allocations: 1.176 MB / 0.5249 GB, free: 23.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004333/0.3568, allocations: 340.9 kB / 0.5252 GB, free: 23.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.3568, allocations: 6.906 kB / 0.5252 GB, free: 23.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.3568, allocations: 41.72 kB / 0.5252 GB, free: 23.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 2.835e-06/0.3569, allocations: 0 / 0.5252 GB, free: 23.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001539/0.3584, allocations: 1.029 MB / 0.5262 GB, free: 23.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.3585, allocations: 111 kB / 0.5263 GB, free: 22.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002932/0.3614, allocations: 2.205 MB / 0.5285 GB, free: 22.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/0.3614, allocations: 38.31 kB / 0.5285 GB, free: 22.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009485/0.3624, allocations: 1.62 MB / 0.5301 GB, free: 20.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.3626, allocations: 261.9 kB / 0.5304 GB, free: 20.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003004/0.3629, allocations: 286.2 kB / 0.5306 GB, free: 20.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.567e-05/0.363, allocations: 353.4 kB / 0.531 GB, free: 20.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/0.3643, allocations: 0.8966 MB / 0.5318 GB, free: 19.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001896/0.3662, allocations: 3.172 MB / 0.5349 GB, free: 16.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00392/0.3701, allocations: 4.439 MB / 0.5393 GB, free: 12.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.88e-05/0.3702, allocations: 27.5 kB / 0.5393 GB, free: 12.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.005177/0.3754, allocations: 3.842 MB / 0.5431 GB, free: 10.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.918e-05/0.3754, allocations: 39.41 kB / 0.5431 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.787e-05/0.3755, allocations: 86.72 kB / 0.5432 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-05/0.3756, allocations: 104.1 kB / 0.5433 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001687/0.3773, allocations: 0.7538 MB / 0.544 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.944e-05/0.3774, allocations: 164.9 kB / 0.5442 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/0.3792, allocations: 495.8 kB / 0.5446 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001974/0.3794, allocations: 215.5 kB / 0.5448 GB, free: 10.19 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.00108/0.3805, allocations: 1.089 MB / 0.5459 GB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.3807, allocations: 163.3 kB / 0.5461 GB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002796/0.381, allocations: 203.8 kB / 0.5463 GB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/0.381, allocations: 11.06 kB / 0.5463 GB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.381, allocations: 7.5 kB / 0.5463 GB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.381, allocations: 0 / 0.5463 GB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002576/0.3836, allocations: 2.019 MB / 0.5482 GB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.3836, allocations: 0 / 0.5482 GB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.3839, allocations: 67.89 kB / 0.5483 GB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3839, allocations: 0 / 0.5483 GB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.3839, allocations: 10.5 kB / 0.5483 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.3839, allocations: 4 kB / 0.5483 GB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.384, allocations: 3.984 kB / 0.5483 GB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007486/0.3847, allocations: 1.032 MB / 0.5493 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/0.3849, allocations: 238.7 kB / 0.5496 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.3851, allocations: 12.27 kB / 0.5496 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004867/0.3856, allocations: 25.22 kB / 0.5496 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.697e-05/0.3856, allocations: 27.91 kB / 0.5496 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-05/0.3857, allocations: 19.94 kB / 0.5496 GB, free: 6.445 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001531/0.3872, allocations: 1.375 MB / 0.551 GB, free: 5.047 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3872, allocations: 4 kB / 0.551 GB, free: 5.043 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002285/0.3895, allocations: 487.5 kB / 0.5515 GB, free: 4.57 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.001328/0.3908, allocations: 1.636 MB / 0.5531 GB, free: 2.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002313/0.3932, allocations: 2.042 MB / 0.5551 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3932, allocations: 0 / 0.5551 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002838/0.3935, allocations: 333.2 kB / 0.5554 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009573/0.3944, allocations: 167.3 kB / 0.5555 GB, free: 412 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02682/0.4213, allocations: 22.21 MB / 0.5772 GB, free: 6.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001695/0.423, allocations: 1.794 MB / 0.579 GB, free: 5.012 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002477/0.4255, allocations: 1.113 MB / 0.5801 GB, free: 3.895 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009721/0.4265, allocations: 0.7297 MB / 0.5808 GB, free: 3.168 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4265, allocations: 0 / 0.5808 GB, free: 3.168 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04769/0.4742, allocations: 27.76 MB / 0.6079 GB, free: 7.602 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/0.4744, allocations: 205.8 kB / 0.6081 GB, free: 7.348 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.429/2.904, allocations: 0 / 0.6081 GB, free: 7.348 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.VoluminousWheel_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_VoluminousWheel.fmu > 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