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.001359/0.001359, allocations: 118.8 kB / 17.79 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.001494/0.001494, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2168/0.2168, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 75.88 kB / 480.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3355, allocations: 62.44 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.007173/0.3427, allocations: 5.713 MB / 0.5361 GB, free: 8.918 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003879/0.3466, allocations: 1.837 MB / 0.5379 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009371/0.3476, allocations: 20.5 kB / 0.5379 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001524/0.3491, allocations: 0.523 MB / 0.5384 GB, free: 7.129 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001939/0.3511, allocations: 0.669 MB / 0.5391 GB, free: 6.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.3513, allocations: 16.05 kB / 0.5391 GB, free: 6.656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001812/0.3531, allocations: 1.431 MB / 0.5405 GB, free: 5.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009411/0.354, allocations: 0.7089 MB / 0.5412 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007647/0.3548, allocations: 488.1 kB / 0.5416 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008686/0.3557, allocations: 0.6758 MB / 0.5423 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002215/0.3559, allocations: 87.62 kB / 0.5424 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006699/0.3566, allocations: 317.2 kB / 0.5427 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005887/0.3572, allocations: 0.6565 MB / 0.5433 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007484/0.358, allocations: 0.824 MB / 0.5441 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002625/0.3606, allocations: 2.644 MB / 0.5467 GB, free: 1.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3606, allocations: 7.938 kB / 0.5467 GB, free: 1.133 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3606, allocations: 0 / 0.5467 GB, free: 1.133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.789e-05/0.3607, allocations: 0 / 0.5467 GB, free: 1.133 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.002817/0.3635, allocations: 1.951 MB / 0.5486 GB, free: 15.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.3636, allocations: 8.031 kB / 0.5486 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003447/0.3639, allocations: 344.1 kB / 0.5489 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004637/0.3686, allocations: 1.476 MB / 0.5504 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.37, allocations: 0.8512 MB / 0.5512 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.713e-05/0.3701, allocations: 86.03 kB / 0.5513 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002085/0.3703, allocations: 99.91 kB / 0.5514 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005279/0.3756, allocations: 4.63 MB / 0.5559 GB, free: 7.188 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.626e-05/0.3757, allocations: 23.8 kB / 0.5559 GB, free: 7.164 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000161/0.3758, allocations: 51.92 kB / 0.556 GB, free: 7.113 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0016/0.3774, allocations: 1.095 MB / 0.5571 GB, free: 6.012 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006059/0.3835, allocations: 4.004 MB / 0.561 GB, free: 2.012 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01739/0.4009, allocations: 18.43 MB / 0.579 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.4023, allocations: 1.167 MB / 0.5801 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004147/0.4028, allocations: 350.2 kB / 0.5804 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.4028, allocations: 4 kB / 0.5804 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.4028, allocations: 42.56 kB / 0.5805 GB, free: 13.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 3.106e-06/0.4028, allocations: 0 / 0.5805 GB, free: 13.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.00169/0.4045, allocations: 1.032 MB / 0.5815 GB, free: 12.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/0.4046, allocations: 106.8 kB / 0.5816 GB, free: 12.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002754/0.4074, allocations: 2.196 MB / 0.5837 GB, free: 9.809 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.769e-05/0.4075, allocations: 33.7 kB / 0.5838 GB, free: 9.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001092/0.4086, allocations: 1.621 MB / 0.5853 GB, free: 8.121 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/0.4088, allocations: 264.9 kB / 0.5856 GB, free: 7.859 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007532/0.4096, allocations: 0.6744 MB / 0.5863 GB, free: 7.176 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.4097, allocations: 361.9 kB / 0.5866 GB, free: 6.816 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.4109, allocations: 0.8887 MB / 0.5875 GB, free: 5.926 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002585/0.4135, allocations: 3.174 MB / 0.5906 GB, free: 1.609 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004257/0.4178, allocations: 4.443 MB / 0.5949 GB, free: 12.03 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.186e-05/0.4179, allocations: 24 kB / 0.5949 GB, free: 12 MB / 462.1 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.005863/0.4238, allocations: 3.845 MB / 0.5987 GB, free: 8.152 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.291e-05/0.4239, allocations: 40.19 kB / 0.5987 GB, free: 8.113 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.026e-05/0.4239, allocations: 84 kB / 0.5988 GB, free: 8.031 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001226/0.4241, allocations: 112 kB / 0.5989 GB, free: 7.922 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001961/0.426, allocations: 0.7525 MB / 0.5997 GB, free: 7.168 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001148/0.4262, allocations: 155.4 kB / 0.5998 GB, free: 7.016 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/0.4281, allocations: 486.8 kB / 0.6003 GB, free: 6.535 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002427/0.4284, allocations: 216 kB / 0.6005 GB, free: 6.324 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.001361/0.4297, allocations: 1.105 MB / 0.6015 GB, free: 5.207 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002297/0.43, allocations: 165.8 kB / 0.6017 GB, free: 5.043 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000292/0.4303, allocations: 200 kB / 0.6019 GB, free: 4.848 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/0.4303, allocations: 8 kB / 0.6019 GB, free: 4.84 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.4303, allocations: 7.938 kB / 0.6019 GB, free: 4.832 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.4303, allocations: 3.984 kB / 0.6019 GB, free: 4.828 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003084/0.4334, allocations: 2.011 MB / 0.6039 GB, free: 2.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.4334, allocations: 4 kB / 0.6039 GB, free: 2.746 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002894/0.4337, allocations: 55.91 kB / 0.6039 GB, free: 2.691 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.4338, allocations: 4 kB / 0.6039 GB, free: 2.688 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.19e-05/0.4338, allocations: 19.92 kB / 0.604 GB, free: 2.668 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.4338, allocations: 0 / 0.604 GB, free: 2.668 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4338, allocations: 4 kB / 0.604 GB, free: 2.664 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.4349, allocations: 1.03 MB / 0.605 GB, free: 1.613 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003087/0.4352, allocations: 230.7 kB / 0.6052 GB, free: 1.367 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/0.4353, allocations: 15.92 kB / 0.6052 GB, free: 1.352 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004647/0.4358, allocations: 27.97 kB / 0.6052 GB, free: 1.324 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.4359, allocations: 19.97 kB / 0.6053 GB, free: 1.305 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.142e-05/0.4359, allocations: 20 kB / 0.6053 GB, free: 1.285 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001819/0.4378, allocations: 1.367 MB / 0.6066 GB, free: 15.89 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4378, allocations: 0 / 0.6066 GB, free: 15.89 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002254/0.44, allocations: 494.8 kB / 0.6071 GB, free: 15.41 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.001507/0.4416, allocations: 1.628 MB / 0.6087 GB, free: 13.75 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00302/0.4446, allocations: 2.06 MB / 0.6107 GB, free: 11.71 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.4446, allocations: 0.8125 kB / 0.6107 GB, free: 11.71 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003811/0.445, allocations: 335.7 kB / 0.611 GB, free: 11.38 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.4461, allocations: 169.5 kB / 0.6112 GB, free: 11.21 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02497/0.471, allocations: 20.28 MB / 0.631 GB, free: 4.016 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001584/0.4727, allocations: 1.798 MB / 0.6327 GB, free: 2.188 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00217/0.4749, allocations: 1.117 MB / 0.6338 GB, free: 1.066 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008666/0.4757, allocations: 0.7297 MB / 0.6345 GB, free: 344 kB / 494.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4757, allocations: 4 kB / 0.6345 GB, free: 340 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05401/0.5298, allocations: 29.33 MB / 0.6632 GB, free: 3.148 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.66, allocations: 22.34 kB / 0.6632 GB, free: 3.137 MB / 0.5138 GB (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